jquery.rainbowJSON will help developers with situations where they have to dump a JSON string/stream's content on the page.
Instead of showing a mangled piece of characters that no human will be able to coherently read within a few seconds, this plugin parses the text and using a finely tuned algorithm prettifies the text, displaying it on multiple lines, complete with a very colorful syntax highlighting scheme.
Nested structures are also kept intact, shown with the proper indentation and with special controls for collapsing or expanding their content.
Developers can control the depth level for which each string is displayed, along with the JSON structure's background color.
Usage instructions and some samples are included with the jquery.rainbowJSON download package.
Requirements:
- JavaScript enabled on client side
- jQuery
Comments not found