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.
Advanced Jackson Usage
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.