-
Spring Test How to test a JSON Array in jsonPath
In Spring, we can use Hamcrest APIs like hasItem and hasSize to test a JSON Array. Review the following example :
Date: 2019-08-11 View: 1520
-
Gson How to parse JSON
Gson provide simple toJson() and fromJson() methods to convert Java objects to / from JSON.
Date: 2019-08-11 View: 1520
-
Jackson Convert JSON array string to List
Few Jackson examples to convert a JSON array string to a List
Date: 2019-08-11 View: 1520
-
Jackson How to ignore null fields
In Jackson, we can use @JsonInclude(JsonInclude.Include.NON_NULL) to ignore the null fields.
Date: 2019-08-11 View: 1520
-
Jackson How to parse JSON
Jackson provide writeValue() and readValue() methods to convert Java objects to / from JSON.
Date: 2019-08-11 View: 1520
-
Jackson @JsonView examples
In Jackson, we can use @JsonView to limit or control fields display for different users.
Date: 2019-08-11 View: 1520
-
JSON.simple – How to parse JSON
In this tutorial, we will show you how to parse JSON with JSON.simple
Date: 2019-08-11 View: 1520
-
FastJson Convert Java objects to / from JSON
FastJson provides easily APIs to convert Java objects to / from JSON
Date: 2019-08-11 View: 1520