Niels Lohmann
Niels Lohmann
Please update to the latest develop branch (we renamed some folders in #3462).
I do not like the changes as they are proposed right now. I understand our MsgPack implementation lacks support for non-string object keys, but this change has an effect to...
This is indeed not supported by the library as JSON requires object keys to be strings. I am hesitant to implement a workaround like treating `null` as a string. In...
I did not know that GitHub would drop Visual Studio 2017 support - thanks for letting me know. If there are no hosted images - is anyone aware of Docker...
Related: https://github.com/nlohmann/json/pull/2477
Do I understand your issue right that the "attack" would be parsing a UBJSON array that is encoded like "an array with 100000 null values" which, due to the compact...
I'm not sure whether adding code for such special cases is a good idea as it adds complexity for very artificial inputs.
I just tried [py-ubjson](https://pypi.org/project/py-ubjson/) which shows the same behavior: ```py import ubjson encoded = b'[$Z#L\x00\x00\x00\x00\xff\xff\xff\xff' decoded = ubjson.loadb(encoded) ``` (Python allocates some 30 GB of memory).
I would be happy to see a proposal, but it is, in my opinion, not so easy. The library is designed to store arbitrary JSON, and your proposal is to...
This seems to be a duplicate of #2311.