Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/DavidDurman/FlexiJsonEditor

JSON editor jQuery plugin
https://github.com/DavidDurman/FlexiJsonEditor

Last synced: 11 days ago
JSON representation

JSON editor jQuery plugin

Awesome Lists containing this project

README

        

JSON editor jQuery plugin
=========================

A JSON editor component for you web apps/pages.
[Blog post](http://www.daviddurman.com)

[Live example](http://www.daviddurman.com/flexi-json-editor/jsoneditor.html)

INSTALLATION
============

Include these lines into your HTML:



USAGE
=====

var myjson = { any: { json: { value: 1 } } };
var opt = {
change: function(data) { /* called on every change */ },
propertyclick: function(path) { /* called when a property is clicked with the JS path to that property */ }
};
/* opt.propertyElement = ''; */ // element of the property field, is default
/* opt.valueElement = ''; */ // element of the value field, is default
$('#mydiv').jsonEditor(myjson, opt);

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/DavidDurman/flexijsoneditor/trend.png)](https://bitdeli.com/free "Bitdeli Badge")