danielaparker / jsoncons

A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON
https://danielaparker.github.io/jsoncons
Other
697 stars 160 forks source link

Allow duplicate keys in JSON #504

Closed YintongMa closed 4 months ago

YintongMa commented 4 months ago

Rapidjson allows duplicate keys. Could jsoncons support that? For example, duplicate "ports" {"Response":"GetAllocations","ResponseCode":200,"ports":[0,1,2],"ports":[3,4,5], "ports":[6,7,8]}