Is there a library that will recursively dump/print an objects properties? I\'m looking for something similar to the console.dir() function in Firebug.
I\'m aware o
You could use Gson to represent your object in json format :
new GsonBuilder().setPrettyPrinting().create().toJson(yourObject);