Releases
0.7.0
Added
Add YYJSON_WRITE_PRETTY_TWO_SPACES
option to allow 2 spaces instead of 4 spaces when writing pretty JSON: #99
Add YYJSON_READ_BIGNUM_AS_RAW
option to read big numbers as raw strings: #124
Add yyjson_get_num()
function to convert and return any number value as double
: #108
Add support for Loongarch: #112
Add functions to get type-specific values specified by JSON Pointer: #116
Add functions to read/write JSON with file pointer FILE *
: #122
Add functions to support modifying memory pool size of yyjson_mut_doc
.
Add convenience functions iter_with()
for creating iterator.
Add functions to modify JSON using JSON Pointer, such as ptr_set()
and ptr_remove()
.
Add support for JSON Patch (RFC 6902).
Changed
BREAKING CHANGE: Change the allocator's realloc function signature, add old_size
parameter for custom allocator: #100
BREAKING CHANGE: Change yyjson_read_number()
function, add alc
parameter.
DEPRECATED: Deprecate get_pointer()
functions, rename to ptr_get()
.
Improve performance of yyjson_mut_write()
function.
Fixed
Fix inaccurate error code for truncated JSON: #103
You can’t perform that action at this time.