[DevTools] JSONView parsing smarter
[Copy of issue 1838873002 due to bug with bad patch.]
JSONView should now be a little more smart in the way it parses data.
Users may send many different kinds of JSON and it should still display
it to the users. If the JSON is much to far gone to be considered JSON
the parser will exit (for example if the user sends things like:
{a:5*5} it will not parse it. ie: no arithmics... static content only)
BUG=
598390
R=lushnikov
Committed:
https://crrev.com/b3c4942acdf45b1fafbae6955dd544026c2913dd
Cr-Commit-Position: refs/heads/master@{#389321}