Convert JSON to Map or Map to Json in Java

Tech Read..

One of the common uses case is to work with Json and use or convert it as java object.

Add the Jackson dependency in pom.xml file

The Java class :

Output is

Map is {person={age=12, lastname=jackson, firstname=Bob, city=Berlin}}

View original post