User Tools

Site Tools


playground:playground

This is an old revision of the document!


PlayGround

External JSON file from internet

(testing)

{
    "country": "SI"
}
{
    "country": "SI"
}

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.1710139943.txt.gz · Last modified: 2024/03/11 07:52 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki