You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous way of serializing wasn't good because of a bug in the json
library used: json-parser/json-builder#8
Here we do the copy by iterating the object.
I am trying to parse a json file (using json.h) and then serialize a sub object of it using json-builder, but I get some strange results.
In this simple example, my input data is:
And I try to serialize
{"x": 10}
, but instead I get:Here is the code, compiled on linux with gcc:
The text was updated successfully, but these errors were encountered: