Human Readable JSON: aka Add spaces and breaks to json dump?

Paste it into JSONLint.com and click validate.

This seems to be the quickest easiest option... useful little tool. Thanks! – kylex Sep 12 '11 at 20:47.

Note that var_dump and its terser cousin var_export do print newlines. Bear in mind that newlines are not shown in HTML document by default. In an HTML context, you want this instead: echo ''; echo htmlspecialchars(var_export($response)); echo ''; In php 5.4+, you can simply use the PRETTY_PRINT flag of json_encode: echo json_encode($response, JSON_PRETTY_PRINT); Again, in an HTML context, you'll have to wrap it as described above.

FYI php 5.4 only – PHP Bree Sep 12 '11 at 20:43 @Matt Anderson Thanks, added a note that mentions a newer php is required, and added var_export. – phihag Sep 12 '11 at 20:47 cool trick, but I'm using 5.3 currently... I will keep it in mind for the future. – kylex Sep 12 '11 at 20:48 +1 another pretty feature of PHP 5.4 :) – Petr Peller Sep 12 '11 at 17:48.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions