Home  >  Jackson API

Jackson API Tutorials and Examples

Jackson Change Property Name This page will walk through how to change property name using Jackson API. Jackson provides @JsonProperty annotation that is used to change property name in serialized JSON. Jackson Ignore Null and Empty Fields This page will walk through how to ignore Null and Empty fields using Jackson API. Jackson provides Include.NON_NULL to ignore fields with Null values and Include.NON_EMPTY to ignore fields with Empty values. Jackson JsonNode.forEach() with Java 8 Consumer Jackson has provided JsonNode.forEach() method which will accept Java 8 consumer definition to iterate each node. The consumer accepts only super classes of JsonNode. Read/Write JSON Using Jackson ObjectMapper, JsonParser and JsonGenerator Example This page will describe how to read JSON into Java object and write java object into JSON output using Jackson API. Jackson has different API like ObjectMapper, JsonParser and JsonGenerator etc.
POSTED BY
ARVIND RAI
ARVIND RAI
FIND MORE TUTORILAS








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us