YexuanXiao / basic_json

A modern C++ library for working with JSON data, aims to provide full support for the JSON standard, as well as allowing users to customize and extend the library according to their needs. The library offers a user-friendly and C++-idiomatic API, without compromising on performance.
Creative Commons Zero v1.0 Universal
8 stars 2 forks source link

Support stateful allocators, add `get_allocator` observer #16

Closed frederick-vs-ja closed 3 months ago

frederick-vs-ja commented 3 months ago

Also

See also [container.alloc.reqmts] and [allocator.requirements].


Also replace runtime_error with json_error and add the json_errc enumeration type. Fixes #14.


Also clarify the intent of default constructor of slices. Fixes #15.

frederick-vs-ja commented 3 months ago

The new commits address newly opened issues. @YexuanXiao