Pretty small JSON editor for the web.

This is a simple JSON editor to simplify editing of JSON from webpages.
50lines of vanilla javascript plus a whooping 14lines of css for the full example.
After a div with the class "jsonEditor" is updated with correct JSON.
A function in this example called runOnSuccessfulJSON, again look at the code.
Check the code of this page example function runOnSuccessfulJSON to understand it better.
And open the console to se what the function is doing.

 
This is one pice of JSON click on it and se what happens, and what happens when you leave.
{ "string": "string", "emptyString": "", "array": [1,2,3], "emptyArray": [], "arryOfArrays": [[],[],[[],[]]], "object": {"first": 1, "second": 2}, "emptyObject": {}, "objectOfObject": {"a": {},"b":{},"c":{},"d":{"d1":{},"d2":{}}}, "booleanTrue": true, "booleanFalse": false, "null": null }
This is another pice of JSON, click on it as well.
{"string": "string","emptyString": ""}