playground:playground
This is an old revision of the document!
Table of Contents
PlayGround
Schema definition
- element: json, id: sch, path: schema, inline data
Options for JSON editor
- element: json, id: opt, path: options, inline data
JSON Editor
null
[
{
"name": "Tony Stark",
"age": 13
},
{
"name": "Jeremy Dorn",
"age": 25
},
{
"name": "Wayne",
"age": 19
}
]{
"title": "Persons",
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"age": {
"type": "number"
}
},
"required": [
"name",
"age"
]
}
}- element: jsoneditor, id: per_diff, path: persons, inline data
People list
| name | age |
|---|---|
| Tony Stark | 13 |
| Jeremy Dorn | 25 |
| Wayne | 19 |
External JSON file from internet
{
"country": "SI"
}{
"country": "SI"
}- element: json, path: ext, external data (from path: )
- external file: https://duckduckgo.com/country.json, JSON file
playground/playground.1710139905.txt.gz · Last modified: 2024/03/11 07:51 by admin
