Start splitting struct json_object into multiple sub-types, as descibed at https://github.com/json-c/json-c/wiki/Proposal:-struct-json_object-split

The current changes split out _only_ json_type_object, and thus have a number of hacks
 to allow the code to continue to build and work.

Originally  mentioned in issue #535.
When complete, this will probably invalidate #552.
This is likely to cause notable conflicts in any other significant un-merged
changes, such as PR#620.
This commit is contained in:
Eric Haszlakiewicz
2020-05-25 03:14:06 +00:00
parent 4a546e7b2f
commit 853b4b5dee
5 changed files with 406 additions and 52 deletions

View File

@@ -0,0 +1,15 @@
This branch implements the changes briefly described at:
https://github.com/json-c/json-c/wiki/Proposal:-struct-json_object-split
These were originally mentioned in:
Issue #535 - short string optimization: excessive array length
The changes are expected to impact and possibly invalidate:
Issue #552 - Some anlysis about memory allocator in json-c
and will likely cause notable conflicts in any other significant un-merged
changes, such as PR#620 - Introduce json_object_new_string_{ext,noalloc}()