Dumping A Java Object To A String

I came across what looks to be a handy method to dump a Java object to a string (and no, I don’t mean toString()). I guess I’m spoiled by <cfdump> in ColdFusion and have got used having a visual indicator as to what an object actually looks like when trying to debug something. I haven’t yet given this code a try so I can’t speak for how well it works, but I should have a use for it soon.

This entry was posted in Languages and tagged , , , , . Bookmark the permalink.

3 Responses to "Dumping A Java Object To A String"

Leave a reply