I'm looking to embed JSON into HTML pages, so people can see the raw JSON, and I'd like to know if anyone knows of an easy way to make it look better and more readable than just a monospace font. Maybe something like a syntax highlighter.
Try JSONLint to validate and format the JSON. Then any syntax highlighter should work, since it's just javascript. I like Chili, but there are many other syntax highlighters out there.
Thanks
Does Chili support JSON? Not a great load of documentation with it.
Hmmm, I forgot about the lack of documentation... maybe try SyntaxHighlighter instead