My server side will return a JSON string and I need to display it at my Html page. So lets say the string is something like this:
{"FirstChildType":{"FirstGrandChild":{"GrandChildName":"123"},"FirstChildName":"a"},"SecondChildType":{"SecondChildName":"SecondChildABC","SecondChildLastName":"SecondChildXYZ"},"ThirdChildType":null,"FirstName":"ABC","LastName":"XYZ"}
How do I show this in my Html with a nice indention? I tried 'google-code-prettify' but somehow couldn't get this to work like I wanted.