如何以编程方式美化JSON?
你知道JavaScript的“JSON Beautifier”吗?
从
{"name":"Steve","surname":"Jobs","company":"Apple"}
至
{ "name" : "Steve", "surname" : "Jobs", "company" : "Apple"}
例
some_magic(jsonObj); // return beautified JSON
qq_笑_17
相关分类