[DevTools] In network view the JSONViewer will sometimes give false positives on the data and sometimes true negatives.
Some examples:
Demo: data:application/json,%7B%22foo%22%3A%3C%22bar%22%7D
JSON: {"foo":<"bar"}
Result: {"foo":"bar"}
Expected: (failure to parse)
Demo: data:application/json,%7B%22foo%22%3A%22b%5Car%22%7D
JSON: {"foo":"b\ar"}
Result: (failure to parse)
Expected: {"foo":"bar"}
Demo: data:application/json,%7Bfoo%3A%20%22bar%22%7D
JSON: {foo: "bar"}
Result: (failure to parse)
Expected: {"foo":"bar"}
Demo: data:application/json,%7B10%3A4%7D
JSON: {10:4}
Result: {"undefined": 4}
Expected: {"10":4}
Demo: data:application/json,%7B%22foo%22%3A010%7D
JSON: {"foo":010}
Result: (failure to parse)
Expected: {"foo":8}
Comment 1 by allada@chromium.org
, Apr 22 2016