====== JSON Editor Demo ====== This is example for the [[https://www.dokuwiki.org/plugin:jsoneditor|JSON Editor Plugin]]. ===== Schema definition ===== <json id=sch path=schema>{ "type": "object", "properties": { "name": {"type": "string"}, "age": {"type": "number"} }, "required": ["name", "age"] }</json> ===== JSON Data for the form ===== <json id=per >{"person":[{"name": "Jeremy Dorn","age":25}]}</json> ===== JSON Editor ===== <jsoneditor id=per_diff path=person[] display=all schema=%$schema% save=all>{"name":"Tony Stark","age":13}</jsoneditor> ===== JSON DATA ===== %$person []{"Name":name, "age":age}%
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up