Skip to content

Support for top level arrays #18

@markmcdowell

Description

@markmcdowell

Hi great library, nice performance.

Does it support stringifying a top level array?

I can't see a way to define it in the schema, everything seems to be an object. Equivalent in json schema would be something like:

{
    "type": "array",
    "items": {
        "properties": {
            "name": { "type": "string" },
            "lastname": { "type": "string" }
        },
        "required": ["name", "lastname"]
    }
}

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions