User Tools

Site Tools


playground:playground

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

nameage
Tony Stark13
Jeremy Dorn25
Wayne19

playground/playground.txt · Last modified: 2024/03/11 09:22 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki