Quantcast
Channel: Baeldung
Viewing all articles
Browse latest Browse all 3548

Jackson JSON Tutorial

$
0
0

I usually post about Dev stuff on Twitter - you can follow me there:

This tutorial illustrates the most common Jackson 2 tasks, problems and solutions while marshalling and unmarshalling JSON.

Basic Jackson Marshalling

Learn quickly how to serialize a Java Entity to a JSON String – and control the mapping process perfectly, to reach the exact JSON format you’re aiming for.

 

Basic Jackson Unmarshalling

Learn how to deserialize a JSON String into a Java Entity – no matter how weird the JSON input is, we need to map it to a well defined Java Entity class.

 

Advanced Jackson Marshalling

Learn advanced serialization configuration and tuning to deal with conditions, various data types and custom Jackson exceptions.

 

Advanced Jackson Unmarshalling

Learn more advanced tips and tricks for unmarshalling JSON input into Java Entity classes.

The implementation of all these examples and code snippets can be found in my github project – this is an Eclipse based project, so it should be easy to import and run as it is.

 

I usually post about Dev stuff on Twitter - you can follow me there:


Viewing all articles
Browse latest Browse all 3548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>