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

duplicate keys: last object is used and no way to know #2

Closed
hugoledoux opened this issue Sep 12, 2017 · 1 comment
Closed

duplicate keys: last object is used and no way to know #2

hugoledoux opened this issue Sep 12, 2017 · 1 comment

Comments

@hugoledoux
Copy link
Member

this is inline with json standard, the last entry is the one used. CPP, Python and Ruby have that behaviour.

nlohmann/json#375

I can't figure out how to verify this with the schema.

I just need to find a way to report an error.

@hugoledoux
Copy link
Member Author

impossible with schema, AFAIK.

solved in : c029bb1
cityjson-valschema now checks this, another JSON parsing is used, a bit slow and hacky but hey it works.

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