kganser.com

json2js

Json2js cleans up JSON for use in javascript (ES5) code by removing unneeded quotes on keys, using literal unicode characters, and (optionally) adding indentation. Where necessary, quote characters around string keys and values can be exclusively single or double or preferably single or double. Preferred options minimize the number of escaped quotes in the string and use the preferred characters to break ties.