-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtest.html
2 lines (2 loc) · 921 Bytes
/
test.html
1
2
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="formatter.js"></script><script src="live.js"></script><script>window.onload = function() { document.body.innerHTML = JSONFormatter('jsonp(\n{ "hey": "guy"\n, "anumber": 243\n, "anobject":\n { "whoa": "nuts"\n , "anarray":\n [ 1\n , 2\n , [ 1\n , 2\n , { "click anywhere": "to fold!"\n }\n ]\n , "thr<h1>ee"\n , "Best of all? You can copy and paste this pretty-printed layout from any JSON file, whatever their formatting."\n ]\n , "more\\u0000challenging": "stuff \\t with \\b misc \\f control \\u2620 codes\\r\\n"\n }\n, "awesome": true\n, "bogus": false\n, "meaning": null\n, "japanese": "明日がある。"\n, "link": "https://github.com/johan/QuickJSON"\n, "notLink": "JSONFormatter and http://github.com/ are great!"\n, "aZero": 0\n, "aFloat": 47.11\n, "emptyString":""\n})\n'); }</script>