Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ykoehler opened this issue Jun 10, 2020 · 0 comments
Open

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

ykoehler opened this issue Jun 10, 2020 · 0 comments

Comments

@ykoehler
Copy link

ykoehler commented Jun 10, 2020

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
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant