How to Prettify - Format - Beautify json in Java?

Lately
I was working on web services of different websites. All of them gives response
in either JSONObject or JSONArray. Reading JSON in eclipse console is pretty
hard so searched over internet and found library called jackson-all.