// Simple yet flexible JSON editor plugin. // Turns any element into a stylable interactive JSON editor. // Copyright (c) 2013 David Durman // Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php). // Dependencies: // * jQuery // * JSON (use json2 library for browsers that do not support JSON natively) // Example: // var myjson = { any: { json: { value: 1 } } }; // var opt = { change: function() { /* called on every change */ } }; // /* opt.propertyElement = '