Skip to content

Commit e899b76

Browse files
committed
BAEL-8853 Merge jsonb module into another module
- Moved jsonb module resources to json module and deleted jsonb module
1 parent 2449866 commit e899b76

9 files changed

Lines changed: 22 additions & 132 deletions

File tree

‎json/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@
99
- [Introduction to JsonPath](http://www.baeldung.com/guide-to-jayway-jsonpath)
1010
- [Introduction to JSON-Java (org.json)](http://www.baeldung.com/java-org-json)
1111
- [Overview of JSON Pointer](https://www.baeldung.com/json-pointer)
12+
- [Introduction to the JSON Binding API (JSR 367) in Java](http://www.baeldung.com/java-json-binding-api)

‎json/pom.xml‎

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333
<artifactId>json</artifactId>
3434
<version>20171018</version>
3535
</dependency>
36-
36+
<dependency>
37+
<groupId>javax.json.bind</groupId>
38+
<artifactId>javax.json.bind-api</artifactId>
39+
<version>${jsonb-api.version}</version>
40+
</dependency>
3741
<dependency>
3842
<groupId>junit</groupId>
3943
<artifactId>junit</artifactId>
@@ -46,12 +50,26 @@
4650
<artifactId>javax.json</artifactId>
4751
<version>1.1.2</version>
4852
</dependency>
49-
53+
<dependency>
54+
<groupId>org.eclipse</groupId>
55+
<artifactId>yasson</artifactId>
56+
<version>${yasson.version}</version>
57+
</dependency>
58+
<!-- utils -->
59+
<dependency>
60+
<groupId>org.apache.commons</groupId>
61+
<artifactId>commons-collections4</artifactId>
62+
<version>${commons-collections4.version}</version>
63+
<scope>test</scope>
64+
</dependency>
5065
</dependencies>
5166

5267
<properties>
5368
<everit.json.schema.version>1.4.1</everit.json.schema.version>
5469
<fastjson.version>1.2.21</fastjson.version>
70+
<jsonb-api.version>1.0</jsonb-api.version>
71+
<commons-collections4.version>4.1</commons-collections4.version>
72+
<yasson.version>1.0.1</yasson.version>
5573
</properties>
5674

5775
</project>

jsonb/src/main/java/com/baeldung/adapter/PersonAdapter.java renamed to json/src/main/java/com/baeldung/adapter/PersonAdapter.java

File renamed without changes.
File renamed without changes.

jsonb/src/test/java/com/baeldung/jsonb/JsonbTest.java renamed to json/src/test/java/com/baeldung/jsonb/JsonbTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import org.junit.Test;
1919

2020
import com.baeldung.adapter.PersonAdapter;
21+
import com.baeldung.jsonb.Person;
2122

2223
public class JsonbTest {
2324

‎jsonb/.gitignore‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎jsonb/README.md‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎jsonb/pom.xml‎

Lines changed: 0 additions & 101 deletions
This file was deleted.

‎jsonb/src/main/resources/logback.xml‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)