mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-21 11:30:09 +00:00
cJSON_ParseWithOpts: Extract pasrse with internal_configuration
Also introduces a allow_data_after_json property in the internal configuration.
This commit is contained in:
1 parent
d4e81cfe57
commit
f02f79ecbb
13 files changed
+64
-51
No files matched your search
@@ -28,7 +28,7 @@ static void assert_print_number(const char *expected, double input)
|
||||
{
|
||||
unsigned char printed[1024];
|
||||
cJSON item[1];
|
||||
printbuffer buffer = { 0, 0, 0, 0, 0, { 0, 0, 0, 0, 0 } };
|
||||
printbuffer buffer = { 0, 0, 0, 0, 0, { 0, 0, 0, 0, 0, 0 } };
|
||||
buffer.buffer = printed;
|
||||
buffer.length = sizeof(printed);
|
||||
buffer.offset = 0;
|
||||
|
||||
Reference in new issue
Block a user