Commit Graph

16 Commits

Author SHA1 Message Date
69f8bb7778 default_configuration: Macro for the internal_configuration defaults 2018-02-03 16:40:49 +01:00
99ad8cc64b internal_configuration: Add case_sensitive 2018-02-03 16:40:49 +01:00
47f4337604 cJSON_ParseWithOpts: Extract pasrse with internal_configuration
Also introduces a allow_data_after_json property in the internal
configuration.
2018-02-03 16:40:49 +01:00
04137f4ed1 Put buffer_size into internal_configuration 2018-02-03 16:40:48 +01:00
479909d0a6 Put format into internal_configuration 2018-02-03 16:40:48 +01:00
b277cd6a24 Rename internal_hooks -> internal_configuration, cJSON_New_item -> create_item 2018-02-03 16:40:48 +01:00
949c083315 Move 'hooks' parameter into buffers (parse/print) 2017-04-27 02:48:28 +02:00
c4c217f2ce Move 'format' into printbuffer 2017-04-27 02:21:09 +02:00
79f30800ec Move print depth into printbuffer 2017-04-27 02:10:03 +02:00
e0d3a8a265 Limit nesting depth to 1000 and make it configurable. 2017-04-27 01:57:45 +02:00
2683589d93 parser: Construct error pointer from buffer offset 2017-04-08 17:56:26 +02:00
87a204ed0b parse_functions: Return booleans instead of pointers 2017-04-08 17:56:26 +02:00
033a542532 parse_array: Use parsebuffer 2017-04-08 17:56:25 +02:00
bea1d102fd print_array: return boolean instead of pointer 2017-03-03 00:16:54 +01:00
68cd0d4a11 cJSON.c: Pass allocation functions through internal functions
This is the first step in removing the global allocator functions. Every
internal function now only accesses its locally available set of
allocators.
2017-02-21 14:50:49 +01:00
3d66766231 tests: print_array 2017-02-20 11:11:01 +01:00