Skip to content

How to parse this nested json object? #12

@johnstontrav

Description

@johnstontrav

Hi,

Firstly, great little project.

Given this input:

let nestedInput = [{ "id": "2", "color": "blue", "people": [ { "name": "carl", "age": "22" }, { "name": "bob", "age": "32" }, ] }];

How would the schema look in order to get this output:

[ { "color": "blue", "name": "carl", "age": "22" }, { "color": "blue", "name": "bob", "age": "32" } ]

Cheers,
Trav.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions