jsonwidget

An automatic form generator/editor for JSON

News:

The jsonwidget libraries

The jsonwidget libraries are a set of libraries for doing the following: Implementations so far: Application designers using these libraries have the option of providing a schema, limiting the input to a subset of valid JSON compatible with whatever application is actually consuming the JSON, or using a provided permissive schema that allows any valid JSON. The libraries are capable of dynamically generating a form is dynamically generated using nothing more than a schema and a JSON file as input.

The libraries are licensed under a BSD-style license, making the licensing very flexible for many different applications.

jsonwidget-python

jsonwidget-python is a general-purpose JSON validation and manipulation library. The following applications are bundled with jsonwidget-python:

Links:

jsonwidget-javascript

jsonwidget-javascript is a Javascript library that can be used to dynamically build client-side forms to edit arbitrarily complicated JSON structures. As of 2010-04-13, this is incorporated into jsonwidget-python.

Demos

Note: these demos don't work well in IE, but seem fine in Firefox, Chrome and presumably Safari: (as of this writing on 2010-04-13): Other demos are available via selection box at the bottom of the examples above.

Acknowledgements

This assembles a lot of code and ideas from other sources.  

Mailing list

For help on using either of these, send mail to the jsonwidget@lists.robla.net mailing list. I don't anticipate much (any?) traffic here, but posting there is one way of getting my attention. Or just contact me directly at robla@robla.net.


Copyright (c) 2005-2010 Rob Lanphier