Converting JSON to/from Java Objects using JACKSON API

This post explains Jackson data-binding, which is a common approach when dealing with JSON using Jackson API in your Java projects. Let’s get going. ObjectMapper is the main api used for data-binding. It comes with several reader/writer methods to preform the conversion from/to Java and JSON Typical usages are as follows: Complete Example Step 1:…

Continue reading

Json Structure

Java Script Object Notation (JSON) is one of the most popular and commonly used way to represent information. This post explains simple & complex constructions of JSON message structures. Let’s take an example of a Car. Information about a Car can be represented in Json format as follows: Above representation is derived from Javascript. Here…

Continue reading