Jsonwidget
An automatic form generator/editor for JSON
The jsonwidget libraries are a set of libraries for doing the following:
- Implementing a form interface for editing arbitrary JSON files.
- Validating JSON against a schema
- Other utility functions
Implementations so far:
- jsonwidget-python: A terminal window implementation suitable for editing forms via ssh or in a local terminal window.
- jsonwidget-javascript: A client-side Javascript library generates a basic HTML form interface in the browser
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.
News
- 2010-04-21 - jsonwidget-python (version 0.1.7). Minor improvements to the API + new "Insert New Item" command.
- 2010-04-13 - jsonwidget-python (version 0.1.6). New version with integrated web server + javascript from jsonwidget-javascript.
- 2010-03-19 - jsonwidget-python (version 0.1.5). This version is the first packaged with a csv editor, a schema generator, and preliminary support for json-schema.org schemas
- 2010-03-13 - jsonwidget-python (version 0.1.4).
- 2010-03-09 - jsonwidget-python (version 0.1.3). This version is the is pacakged for Ubuntu Karmic and Lucid
- 2010-03-04 - Update of jsonwidget-python (version 0.1.2). This version is the first version uploaded to Pypi (well, technically the second; 0.1.1 was a botched release)
- 2010-02-25 - Initial release of jsonwidget-python (version 0.1.0). See my blog post explaining this in great detail
- 2010-02-24 - A new version of jsonwidget under development (jsonwidget-python), using Python instead of Javascript. I've created documentation for the schema format in anticipation of this. Additionally, the source repository for jsonwidget-javascript has been migrated to Bitbucket/Mercurial.
- 2005-12-01 - jsonwidget-javascript 0.1.0 release. Current version has only been tested with Firefox 1.0.7. Known to be very buggy in IE and Opera, if it works at all. (Heck, it's pretty buggy in Firefox, still). Future versions will have much more testing in other browsers.
License
The libraries are licensed under a BSD-style license, making the licensing very flexible for many different applications.
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-2012 Rob Lanphier