Skip to content

Isn't json-include converting json array into list? #8

@ykoehler

Description

@ykoehler

In the c.json, I think the expectation is incorrect. As it converts a JSON array into a single object

I would have expected this:

{
    "c0": {
        "value": "a c0 value",
        "aaa": {
            "a0": 1,
            "a1": "one"
        }
    },
    "bb": [
        {
            "aa": {
                "a0": 1,
                "a1": "one"
            },
        },
        {
            "b0": {
                "value": "a b0 value"
            },
        },
        {
            "b1": true
        }
    ]
}

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