The playground is a one-page application that lets you try out JSON Form. It features all the examples that appear in the documentation, as well as an editor that lets you build on top of them.
For examples to load, the playground must be served over HTTP. There are many ways you can achieve that. Here are two:
- Using Python's
SimpleHTTPServerfrom the root of the JSON Form project:
python -m SimpleHTTPServerThen open this page in your favorite browser:
http://localhost:8000/playground/
- Using
http-servernode module from the root of the JSON Form project:
npm install -g http-server
http-serverThen open this in page in your favorite browser:
http://localhost:8080/playground/
NB: The final / in the URL is needed.