2 ms·
I can understand the usefulness of things like Krumo[1] for PHP but I am struggling to understand the use-case for this. With a language like PHP you don't have
by joshstrange 13y ago
I can understand the usefulness of things like Krumo[1] for PHP but I am struggling to understand the use-case for this. With a language like PHP you don't have direct manipulation abilities (without debugging using an extension) so it makes sense that you need to format the data before you send it to the client but with JS you have the ability to inspect the JS directly. Also I think JSON (with spaces/indentions/linebreaks) is extremely readable (Especially with things like PrettyPrint[2] installed).
Where do you see this being used?
[1] http://krumo.sourceforge.net/ http://krumo.sourceforge.net/
[2] https://chrome.google.com/webstore/detail/prettyprint/nipdlgebaanapcphbcidpmmmkcecpkhg?hl=en https://chrome.google.com/webstore/detail/prettyprint/nipdlg...
- marianoguerra 13y agoI made it because my app (http://event-fabric.com/ http://event-fabric.com/) receives arbitrary JSON and one of the options you have is to inspect what is going through the steps, so I need the ability to format arbitrary and possibly nested JSON in a pretty way but without hidding the JSON structure because the app is to actually inspect and manipulate that JSON. until now I was using a pretty printer but the result was too "technical" for non programmers to see (at least that's my opinion).