marianoguerra / json-edit

schema to form + validation to json that conforms to schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json-edit

what

json-edit is a javascript library that takes a json schema[1] as input, generates a form to input information described by the schema, validates the input and returns a json object that respects the provided schema.

this allows you to describe the shape of the data you want and let json-edit make the ugly work.

[1] http://tools.ietf.org/html/draft-zyp-json-schema-03

who

marianoguerra

why

I'm tired of writing boring, error-prone and repetitive forms and validation.

also, I need it for something :)

test it

http://marianoguerra.github.com/json-edit/test

try it

http://marianoguerra.github.com/json-edit

download it

the javascript is in the js folder, you will also need jquery and legojs.

license

LGPL + optional beer for the creator

About

schema to form + validation to json that conforms to schema


Languages

Language:JavaScript 93.0%Language:CSS 4.0%Language:HTML 3.0%Language:Shell 0.0%