json icon indicating copy to clipboard operation
json copied to clipboard

A C++11 library for parsing and serializing JSON to and from a DOM container in memory.

Results 216 json issues
Sort by recently updated
recently updated
newest added

Very rough draft of the idea. For a context type Ctx the user is supposed to implement these functions: ``` void tag_invoke(context_key_push_tag, string_view, Ctx const&); void tag_invoke(context_key_pop_tag, Ctx const&); void...

Given the following use case that comes from the documentation: ```c++ #include #include #include #include #include struct money { std::string currency; double value; }; BOOST_DESCRIBE_STRUCT(money, (), (currency, value)) struct test...

When trying to serialize a struct containing a array of int, I get the following error: ``` /opt/fslc-emo/6.6-scarthgap/sysroots/cortexa53-fslc-linux/usr/include/boost/json/detail/value_to.hpp:387:33: error: invalid array assignment 387 | (*res).* D::pointer = std::move(*member_res); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~...

* [ ] `array::resize(std::size_t, value const&)` --- replace the last parameter with `value_ref` to avoid constructing the value if not necessary. * [ ] Review all "basic guarantee" functions; potentially...

For instance, for json content ```json {"value": 1.23456789234567892345678923456789234567892345678923456789} ``` I'd like to get a string-like `1.23456789234567892345678923456789234567892345678923456789` from parsed `value`. This is useful not even for arbitrary precision floats, but for...

When used with https://github.com/RoyBellingan/boostIntrusive/tree/master It should produce this ``` ------ default msg : source composite size does not match target size expanded msg: the key >> timestamp > author

Some provisional code to add support for the delete_at_pointer functionality. To test with https://github.com/RoyBellingan/boostDeleteAtPointer It should produce this ```JSON Initial Json: [ { "image" : { "path" : "https://i.natgeofe.com/n/4f5aaece-3300-41a4-b2a8-ed2708a0a27c/domestic-dog_thumb_square.jpg?wp=1&w=170&h=170", "size"...

In my code I would need to extract non-const pointers to underlying json values through functions such as `if_int64` during JSON to C++ object conversion. I see that all the...

I was struggling a bit getting reasonable error codes. I use the exception-based API for readability purposes. Most of these functions take a source_location parameter but it turns out that...

How to write tag_invoke for uuid? - it seems boost.json represents uuid as something like vector, so build failed Code: ``` // uuid argument inline ::boost::uuids::uuid tag_invoke(boost::json::value_to_tag, boost::json::value const &...