JSON

JSON format (application/json).

JSON is Stof's closest relative format. The Stof parser accepts JSON field & object syntax (most JSON files can be considered Stof).

Stof, unlike JSON, is not limited to just fields of data, however. Because of this, the JSON format implementation is a lossy export, but captures everything on import.

Take a look at Imports and Exports if you haven't already.

{
    "message": "hello, world",
    "person": {
        "name": "Bob Smith",
        "age": 42
    }
}

Last updated

Was this helpful?