JsonToForm
A lightweight script to generate forms from objects or JSON files.
Getting Started
Compiled and production-ready code can be found in the dist
directory. The src
directory contains development code.
1. Include JsonToForm on your site
You can download the files directly from GitHub.
2. Add the markup to your HTML
Needed only a container for the form.
3. Initialize JsonToForm
In the footer of your page, after the content, initialize JsonToForm by passing in an object or JSON path, and the selector for the container.
License
The code is available under the MIT License.