Commit Graph

70 Commits

Author SHA1 Message Date
Mo Helmy 5e3bf803f4 Removing JSON elements with Jackson [BAEL-6511] (#14291)
* Removing JSON elements with Jackson [BAEL-6511]

This commit adds a test class for removing JSON elements using the Jackson library.

* Removing JSON elements with Jackson [BAEL-6511]

This PR adds a test class for removing JSON elements using the Jackson library.
2023-06-26 19:26:45 -05:00
sam-gardner 9bbd08c6a8 BAEL-5830 Add code for setting default values for null fields with Jackson (#14265) 2023-06-19 08:15:16 -07:00
edizor e8b2cccd4f Update README.md
[skip ci]
2023-06-15 22:23:23 +08:00
Sam Gardner 28e60de07d BAEL-6312 Update @JsonMerge annotation test to update language instead of name 2023-06-09 13:56:22 +01:00
Sam Gardner 3779c5c50c BAEL-6312 Add example code for @JsonMerge Jackson annotation 2023-06-05 11:13:48 +01:00
collaboratewithakash e2f19bfe2f backlink updated 2023-05-31 17:25:58 +05:30
collaboratewithakash 69dd5ee7aa backlink updated 2023-05-31 17:14:55 +05:30
edizor dc97aae182 Update README.md
[skip ci]
2023-04-20 17:54:06 +08:00
Loredana Crusoveanu b01a849724 Merge pull request #13842 from edizor/master
Update README
2023-04-18 13:31:26 +03:00
Azhwani 61b242fcfd BAEL-5737: Fix the JsonMappingException: Can not deserialize instance of java.util.ArrayList (#13837) 2023-04-18 08:28:52 +02:00
edizor fb71922274 Update README.md
[skip ci]
2023-04-14 16:54:40 +08:00
Tapan Avasthi b86f875dbe BAEL-6307: Use LinkedHashMap to fix order of keys during serialization (#13832)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-04-13 20:11:25 -05:00
Kai Yuan 3aaf85dcca [improve-jackson-annotation] BAEL-6308 JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES (#13807) 2023-04-12 19:35:29 -05:00
Loredana Crusoveanu c4c6d470e8 Merge pull request #13790 from dkapil/task/JAVA-19536_ij
JAVA-19536 Formatting of pom.xml
2023-04-10 10:24:02 +03:00
Dhawal Kapil e297f43f17 JAVA-19536 Formatting of pom.xml 2023-04-07 22:32:01 +05:30
edizor 89e7249f0d Update README.md
[skip ci]
2023-04-07 23:39:24 +08:00
Tapan Avasthi 3051d4ba97 BAEL-6370: Introduce @JsonKey annotation for Map serialization (#13766)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-04-06 18:53:50 -05:00
Forb Yuan 28c8893b38 [BAEL-6203] Deserialize Generic Type with Jackson (#13764) 2023-04-03 20:47:51 -07:00
edizor 7762d40b74 Update README.md
[skip ci]
2023-03-30 22:10:01 +08:00
Abhinav Pandey b5ab6ad906 BAEL-5936 - OffsetDateTime serialization with Jackson (#13680)
* BAEL-5936 - OffsetDateTime serialization with Jackson

* BAEL-5936 - Extracting methods and adding tests

* BAEL-5936 - Renaming test file

* BAEL-5936 - Changing test method names

* BAEL-5936 - removes implements serializable
2023-03-30 07:53:46 +05:30
Almog Tavor 5fdce22ac5 [BAEL-5780] Difference Between asText() and toString() in JsonNode (#13601)
* [BAEL-5780] Difference Between asText() and toString() in JsonNode

* chore: add test to demonstrate the difference at the special chars aspect

* fix: follow tests names convention

* fix: follow tests names convention
2023-03-21 19:07:56 -07:00
Azhwani c1564c38a0 BAEL-6076: Resolving Jackson JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token (#13495) 2023-02-28 10:41:01 +05:30
edizor 063be45440 Update README.md
[skip ci]
2023-01-19 07:25:57 +08:00
apeterlic 02b56bf783 BAEL-6032 - @JsonIgnore vs @Transient (#13254)
* BAEL-6032 - @JsonIgnore vs @Transient

* Rename test methods
2023-01-12 18:50:58 +05:30
thibault.faure 6746ddc7ea BAEL-5849 Code for the improvement of the article Custom deserializer for a generic type jackson 2022-11-20 19:29:59 +01:00
Kai Yuan b522237512 [deserializeEnumCaseInsensitve] Deserializing Enums in a Case-Insensitive Manner in Jackson (#12868) 2022-10-17 19:41:41 -05:00
collaboratewithakash 6690a41b17 Update README.md 2022-09-23 15:07:46 +05:30
collaboratewithakash d30ce932f9 Update README.md 2022-09-23 15:03:39 +05:30
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
Asjad J 4859fc9324 Updated README.md
added link back to the article: https://www.baeldung.com/java-read-json-from-url
2022-08-25 16:50:48 +05:00
Ulisses Lima 941d6701f3 BAEL-5657 - Reading JSON from a URL in Java (#12584)
* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* Spring Data MongoDB - Configure Connection

Ready for revision.

* fixed tests to reflect article changes

* BAEL-5657

* reverting BAEL-5657

* reverting BAEL-5657

* done

* reverting bael-5366

* revert bael-5366

* revert bael-3366

* including section 3

3. Using commons-io and org.json

* replacing tabs with spaces
2022-08-19 00:00:45 +02:00
sampadawagde 5c8d615fdb JAVA-12729: rename jackson module 2022-07-29 19:32:11 +05:30
anuragkumawat cf932245aa JAVA-12710 Look into XML Serialization and Deserialization with Jackson article 2022-06-23 21:06:31 +05:30
Asjad J bba9f4374b Updated README.md
added link back to the article: https://www.baeldung.com/jackson-deduction-based-polymorphism
2022-04-18 17:16:03 +05:00
Iulian Manda de77319b35 BAEL-5115 Deduction-Based Polymorphism in Jackson 2.12 (#11732)
* BAEL-5115 Deduction-Based Polymorphism in Jackson 2.12

* Fix pmd

* Code review changes

* Improvements

* Code review

* Code review

* fix typo

* Rename package

* Apply formatter

* Add old deduction

* revert
2022-04-17 13:16:25 +02:00
johnA1331 eb4276fe3b Update README.md 2021-12-01 16:18:13 +08:00
Yavuz Tas b045b7fe83 BAEL-5192 Code samples for the article (#11483)
* BAEL-5192 implement code samples

* BAEL-5192 simplify some methods

* BAEL-5192 remove duplicated test method

Co-authored-by: Yavuz Tas <ytas@vwd.com>
2021-11-25 10:45:26 -06:00
johnA1331 0d3a018616 Update README.md 2021-11-24 14:20:24 +08:00
priya-soni 4ae595210c Bael 5191 json node get all keys (#11486)
* BAEL-5191-JsonNode-Get-All-Keys-From-A-Json-Structure

* Added test cases for GetAllKeysFromJSON class methods

* Updated test class name

* BAEL - 5191 - Updated exception handling
2021-11-21 08:26:38 -08:00
Loredana Crusoveanu ee70035562 Merge pull request #11470 from kwoyke/JAVA-8436
JAVA-8436: Manage AssertJ dependency in the main pom.xml
2021-11-19 16:56:22 +02:00
priya-soni d26a604c20 BAEL-5191-JsonNode-Get-All-Keys-From-A-Json-Structure (#11451)
* BAEL-5191-JsonNode-Get-All-Keys-From-A-Json-Structure

* Added test cases for GetAllKeysFromJSON class methods

* Updated test class name
2021-11-18 14:04:38 -08:00
Krzysiek f22f99bf1f JAVA-8436: Remove AssertJ depenendency from the child modules - part 3 2021-11-18 12:48:35 +01:00
johnA1331 01a1849a27 Update README.md 2021-11-04 00:52:00 +08:00
Loredana Crusoveanu 903ca563ad Merge pull request #11397 from chaos2418/JAVA-1665
JAVA-1665: updated parent-java's junit and surefire configurations
2021-11-03 11:54:45 +02:00
vunamtien 1adb96e384 BAEL-5193-Deserialize Snake Case With Jackson (#11341)
* BAEL-5193-deserialize-snake-case

* refactor

* refactor

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2021-11-03 09:22:59 +00:00
chaos2418 64a134f05e JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
kwoyke a41f46c594 BAEL-5114: Do not use deprecated PropertyNamingStrategy class (#11371) 2021-10-27 20:56:46 +02:00
kwoyke e9d5975e3c Merge pull request #11194 from freelansam/JAVA-6303
JAVA-6303: Update "Jackson Inheritance" article
2021-09-13 10:36:35 +02:00
sampadawagde 8542ba368a JAVA-6303: corrected formatting 2021-09-11 14:57:21 +05:30