diff --git a/json-2/README.md b/json-2/README.md index aebc42c472..ed5a79dd3d 100644 --- a/json-2/README.md +++ b/json-2/README.md @@ -8,3 +8,5 @@ This module contains articles about JSON. - [Introduction to Moshi Json](https://www.baeldung.com/java-json-moshi) - [Hypermedia Serialization With JSON-LD](https://www.baeldung.com/json-linked-data) - [Generate a Java Class From JSON](https://www.baeldung.com/java-generate-class-from-json) +- [A Guide to FastJson](https://www.baeldung.com/fastjson) +- More Articles: [[<-- prev]](/json) diff --git a/json-2/pom.xml b/json-2/pom.xml index 591b7c0883..751199d394 100644 --- a/json-2/pom.xml +++ b/json-2/pom.xml @@ -14,6 +14,11 @@ + + com.alibaba + fastjson + ${fastjson.version} + org.jsonschema2pojo jsonschema2pojo-core @@ -142,6 +147,7 @@ 0.9.23 1.9.2 + 1.2.21 \ No newline at end of file diff --git a/json/src/test/java/fast_json/FastJsonUnitTest.java b/json-2/src/test/java/com/baeldung/fastjson/FastJsonUnitTest.java similarity index 99% rename from json/src/test/java/fast_json/FastJsonUnitTest.java rename to json-2/src/test/java/com/baeldung/fastjson/FastJsonUnitTest.java index 6fcf1e398a..eec7a1c95f 100644 --- a/json/src/test/java/fast_json/FastJsonUnitTest.java +++ b/json-2/src/test/java/com/baeldung/fastjson/FastJsonUnitTest.java @@ -1,4 +1,4 @@ -package fast_json; +package com.baeldung.fastjson; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; diff --git a/json/src/test/java/fast_json/Person.java b/json-2/src/test/java/com/baeldung/fastjson/Person.java similarity index 97% rename from json/src/test/java/fast_json/Person.java rename to json-2/src/test/java/com/baeldung/fastjson/Person.java index 3d772348a4..5e142131a3 100644 --- a/json/src/test/java/fast_json/Person.java +++ b/json-2/src/test/java/com/baeldung/fastjson/Person.java @@ -1,4 +1,4 @@ -package fast_json; +package com.baeldung.fastjson; import com.alibaba.fastjson.annotation.JSONField; diff --git a/json/README.md b/json/README.md index 6ad4c8a29d..0a4782cd86 100644 --- a/json/README.md +++ b/json/README.md @@ -4,7 +4,6 @@ This module contains articles about JSON. ### Relevant Articles: - [Introduction to JSON Schema in Java](https://www.baeldung.com/introduction-to-json-schema-in-java) -- [A Guide to FastJson](https://www.baeldung.com/fastjson) - [Introduction to JSONForms](https://www.baeldung.com/introduction-to-jsonforms) - [Introduction to JsonPath](https://www.baeldung.com/guide-to-jayway-jsonpath) - [Introduction to JSON-Java (org.json)](https://www.baeldung.com/java-org-json) @@ -14,3 +13,4 @@ This module contains articles about JSON. - [Iterating Over an Instance of org.json.JSONObject](https://www.baeldung.com/jsonobject-iteration) - [Escape JSON String in Java](https://www.baeldung.com/java-json-escaping) - [Reducing JSON Data Size](https://www.baeldung.com/json-reduce-data-size) +- More Articles: [[next -->]](/json-2) diff --git a/json/pom.xml b/json/pom.xml index dfe42ee4c1..0d83f523b8 100644 --- a/json/pom.xml +++ b/json/pom.xml @@ -26,11 +26,6 @@ - - com.alibaba - fastjson - ${fastjson.version} - org.json json @@ -72,7 +67,6 @@ 1.4.1 - 1.2.21 1.0 1.0.1 20171018