Jackson JSON Example | ObjectMapper and @JSONView

Jackson JSON Parser is a very popular JSON Java Parser, which can easily transform Java Objects to JSON and vice versa and Jackson API even provides default mapping for most of the objects which need to be serialized. In my previous articles, we have learnt How to Read a JSON in Java and How to write JSON object to File using GSON and JSON.simple API.  In this Jackson JSON Example, let’s see  how to use Jackson API to read JSON file and Write a JSON file. [Read more…]