diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index 3be314f908..174882aeb4 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -34,6 +34,7 @@
+
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index 3e6cf93d04..cfbbd38e55 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -51,6 +51,11 @@
+
+
+
+
+
diff --git a/jackson-modules/jackson-jr/pom.xml b/jackson-modules/jackson-jr/pom.xml
index 7877143d4b..99be91b8a1 100644
--- a/jackson-modules/jackson-jr/pom.xml
+++ b/jackson-modules/jackson-jr/pom.xml
@@ -4,7 +4,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
jackson-jr
- pom
jackson-jr
@@ -44,7 +43,7 @@
- 2.16.0
+ 2.17.0
\ No newline at end of file
diff --git a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/CustomDateDeserializer.java b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/CustomDateDeserializer.java
similarity index 95%
rename from jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/CustomDateDeserializer.java
rename to jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/CustomDateDeserializer.java
index 3edaee8be0..681e02168b 100644
--- a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/CustomDateDeserializer.java
+++ b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/CustomDateDeserializer.java
@@ -1,4 +1,4 @@
-package com.baeldung.jacksonjr;
+package com.ossez.jacksonjr;
import java.io.IOException;
import java.time.LocalDate;
diff --git a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/CustomDateSerializer.java b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/CustomDateSerializer.java
similarity index 94%
rename from jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/CustomDateSerializer.java
rename to jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/CustomDateSerializer.java
index cfd08548c6..15ef49b34c 100644
--- a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/CustomDateSerializer.java
+++ b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/CustomDateSerializer.java
@@ -1,4 +1,4 @@
-package com.baeldung.jacksonjr;
+package com.ossez.jacksonjr;
import java.io.IOException;
import java.time.LocalDate;
diff --git a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/JacksonJrFeatures.java b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/JacksonJrFeatures.java
similarity index 98%
rename from jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/JacksonJrFeatures.java
rename to jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/JacksonJrFeatures.java
index 6e99638ca6..73d215ba41 100644
--- a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/JacksonJrFeatures.java
+++ b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/JacksonJrFeatures.java
@@ -1,4 +1,4 @@
-package com.baeldung.jacksonjr;
+package com.ossez.jacksonjr;
import java.io.IOException;
import java.util.LinkedHashMap;
diff --git a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/MyHandlerProvider.java b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/MyHandlerProvider.java
similarity index 96%
rename from jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/MyHandlerProvider.java
rename to jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/MyHandlerProvider.java
index 8fc67c6591..5691176b9d 100644
--- a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/MyHandlerProvider.java
+++ b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/MyHandlerProvider.java
@@ -1,4 +1,4 @@
-package com.baeldung.jacksonjr;
+package com.ossez.jacksonjr;
import java.time.LocalDate;
diff --git a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/Person.java b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/Person.java
similarity index 91%
rename from jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/Person.java
rename to jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/Person.java
index 12c48c3270..88deec5ff9 100644
--- a/jackson-modules/jackson-jr/src/main/java/com/baeldung/jacksonjr/Person.java
+++ b/jackson-modules/jackson-jr/src/main/java/com/ossez/jacksonjr/Person.java
@@ -1,4 +1,4 @@
-package com.baeldung.jacksonjr;
+package com.ossez.jacksonjr;
import java.time.LocalDate;
diff --git a/jackson-modules/jackson-jr/src/test/java/com/ossez/jacksonjr/CreateJSONTest.java b/jackson-modules/jackson-jr/src/test/java/com/ossez/jacksonjr/CreateJSONTest.java
new file mode 100644
index 0000000000..2a4e7cd3c2
--- /dev/null
+++ b/jackson-modules/jackson-jr/src/test/java/com/ossez/jacksonjr/CreateJSONTest.java
@@ -0,0 +1,25 @@
+package com.ossez.jacksonjr;
+
+import com.fasterxml.jackson.jr.ob.JSON;
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.TestInstance;
+
+import java.io.IOException;
+import java.util.LinkedHashMap;
+
+/**
+ * Create JSON String
+ */
+@TestInstance(TestInstance.Lifecycle.PER_CLASS)
+public class CreateJSONTest {
+
+ @Test
+ public void createJsonStringTest() throws IOException {
+ System.out.println(JSON.std.with(JSON.Feature.PRETTY_PRINT_OUTPUT)
+ .asString(new LinkedHashMap() {{
+ put("name", "John Doe");
+ put("age", 30);
+ }}));
+ }
+
+}
diff --git a/jackson-modules/jackson-jr/src/test/java/com/baeldung/jacksonjr/JacksonJrFeaturesUnitTest.java b/jackson-modules/jackson-jr/src/test/java/com/ossez/jacksonjr/JacksonJrFeaturesUnitTest.java
similarity index 96%
rename from jackson-modules/jackson-jr/src/test/java/com/baeldung/jacksonjr/JacksonJrFeaturesUnitTest.java
rename to jackson-modules/jackson-jr/src/test/java/com/ossez/jacksonjr/JacksonJrFeaturesUnitTest.java
index 04719c9303..3349820f6a 100644
--- a/jackson-modules/jackson-jr/src/test/java/com/baeldung/jacksonjr/JacksonJrFeaturesUnitTest.java
+++ b/jackson-modules/jackson-jr/src/test/java/com/ossez/jacksonjr/JacksonJrFeaturesUnitTest.java
@@ -1,4 +1,4 @@
-package com.baeldung.jacksonjr;
+package com.ossez.jacksonjr;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
@@ -13,7 +13,7 @@ public class JacksonJrFeaturesUnitTest {
@Test
public void whenSerializingObject_thenReturnJson() throws IOException {
- String json = JacksonJrFeatures.jsonObject();
+ String json = com.ossez.jacksonjr.JacksonJrFeatures.jsonObject();
assertTrue(json.contains("name"));
assertTrue(json.contains("age"));
}
diff --git a/jackson-modules/pom.xml b/jackson-modules/pom.xml
index a89332734d..ffd4d7ab26 100644
--- a/jackson-modules/pom.xml
+++ b/jackson-modules/pom.xml
@@ -45,18 +45,11 @@
org.junit.jupiter
junit-jupiter
${junit-jupiter.version}
-
-
-
- org.junit.vintage
- junit-vintage-engine
- ${junit-jupiter.version}
- test
- 5.6.2
+ 5.10.2
\ No newline at end of file