How can I display JSON in an easy-to-read (for human readers) format? I'm looking primarily for indentation and whitespace, with perhaps even colors / font-styles / etc.
转载于:https://stackoverflow.com/questions/4810841/how-can-i-pretty-print-json-using-javascript