Cukup cetak json di konsol

new JSONObject(json).toString(2) 
Sleepy Salmon