cJSON
cJSON copied to clipboard
Not an Issue
Fantastic - You created a bear minimum feature set - that works great. Thank you the speed of your code is crazy fast
I would like to ask you about CJSON_NESTING_LIMIT
I currently have been using jsoncons::json to read and create large arrays of data as json 5000 records is usually the max required - would setting NESTING_LIMIT to 5000 work to allow for 5000 records - array of objects rows[{rec},{rec}...]
@toutant there is no need to set CJSON_NESTING_LIMIT 5000 for your case, CJSON_NESTING_LIMIT indicates the maximum number of nesting layers.
For a json like this: [{"a": 1},{"b": 1},{"c": 1},{"d": 1},{"e": 1}]
, it's nested layers is only 2.