Jackson JSON and Dynamic JSON creation
FasterXML Jackson is a great tool for converting objects to/from POJOs.
Its a great tool when we know the structure of JSON beforehand. But what if we don’t know that? In that case we can use a Map<String, Object> to store the unknown objects. Below two links provide useful info:
http://www.cowtowncoder.com/blog/archives/2011/07/entry_458.html
Happy Coding :)