Max Bruckner
|
98e0b586ca
|
Add cJSON_Allocators new style allocator struct
|
2018-03-25 23:32:03 +02:00 |
|
Max Bruckner
|
515d11f55a
|
default_configuration: Macro for the internal_configuration defaults
|
2018-03-25 23:32:03 +02:00 |
|
Max Bruckner
|
ba8fe0f479
|
internal_configuration: Add case_sensitive
|
2018-03-25 23:32:03 +02:00 |
|
Max Bruckner
|
f02f79ecbb
|
cJSON_ParseWithOpts: Extract pasrse with internal_configuration
Also introduces a allow_data_after_json property in the internal
configuration.
|
2018-03-25 23:32:03 +02:00 |
|
Max Bruckner
|
7030dc7c5b
|
Put buffer_size into internal_configuration
|
2018-03-25 23:32:03 +02:00 |
|
Max Bruckner
|
27977adc93
|
Put format into internal_configuration
|
2018-03-25 23:32:03 +02:00 |
|
Max Bruckner
|
677f0cb1bb
|
Rename internal_hooks -> internal_configuration, cJSON_New_item -> create_item
|
2018-03-25 23:32:03 +02:00 |
|
Max Bruckner
|
949c083315
|
Move 'hooks' parameter into buffers (parse/print)
|
2017-04-27 02:48:28 +02:00 |
|
Max Bruckner
|
e0d3a8a265
|
Limit nesting depth to 1000 and make it configurable.
|
2017-04-27 01:57:45 +02:00 |
|
Max Bruckner
|
2683589d93
|
parser: Construct error pointer from buffer offset
|
2017-04-08 17:56:26 +02:00 |
|
Max Bruckner
|
87a204ed0b
|
parse_functions: Return booleans instead of pointers
|
2017-04-08 17:56:26 +02:00 |
|
Max Bruckner
|
778a0c146f
|
parse_string: Use parsebuffer
|
2017-04-08 17:56:25 +02:00 |
|
Max Bruckner
|
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 |
|
Max Bruckner
|
5986edba1d
|
tests: Ensure that failed parsing returns invalid items
|
2017-02-15 21:25:52 +01:00 |
|
Max Bruckner
|
c6e1a281f9
|
tests: assertion macros
|
2017-02-15 21:25:52 +01:00 |
|
Max Bruckner
|
4f58695ed3
|
tests: extract common functionality to common.c
|
2017-02-15 21:25:51 +01:00 |
|
Max Bruckner
|
598b609c45
|
unity-tests: parse_string
|
2017-02-07 21:35:20 +01:00 |
|