struct_mapping
struct_mapping copied to clipboard
Mapping json to and from a c++ structure
The following code sometimes gets the first half of json, I suspect it is because of the result of calling in a multi-threaded environment, the following fieldinfo is a local...
Hello. I'm doing an integration of the struct_mappings library and the nlohmann-json library to be able to map std::any objects. Greetings and happy new year.
Thanks for the library. Once I have income from the project, I will donate but in BUSD.
[ { "field1": "Donald Duck", "field2": "sample text", "field3": 0.5675269775390624, "h": 490, "attrfield": [ { "attr1": "first attribute", "attr2": "secod attribute" }, { "attr1": "first attribute", "attr2": "secod attribute" }...
Just wanted to ask if there is any way to reset or change which values are mapped from a structure. Lets say I have a structure with 3 attributes, I...
Hi, Can you add conan support? https://github.com/conan-io/conan-center-index Thanks.
Fantastic library! Well done and thank you. Currently I'm using the lambda in the member initialization to do registration, which then allows me to also specify options. This works well....
Only to say that this is a nice library!!! It can be compatible with c++ 11? Thanks.
Nice library! Is this able to deal with JSON which has optional fields?