madeso / json

A JSON parser for files written by humans
zlib License
0 stars 0 forks source link

Better handling of objects with multiple equal keys. #11

Closed madeso closed 4 years ago

madeso commented 5 years ago

The current implementation of the object uses a std::map for storing the key/values but according to ecma 404 there can be many entries with the same key.

There should be at least 3 options:

madeso commented 5 years ago

Given commit d99754a the 2 top functions are now possible, the only thing that remain is the ability to store keys in a multimap.

madeso commented 4 years ago

Reading multikeys are not important, in the new "opinionated json parser", and ignored and error are already supported, so I'm closing this issue since it's complete.