-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
std::pair wrong serialization #2655
Copy link
Copy link
Closed
Labels
confirmeddocumentationkind: bugsolution: wontfixthe issue will not be fixed (either it is impossible or deemed out of scope)the issue will not be fixed (either it is impossible or deemed out of scope)
Metadata
Metadata
Assignees
Labels
confirmeddocumentationkind: bugsolution: wontfixthe issue will not be fixed (either it is impossible or deemed out of scope)the issue will not be fixed (either it is impossible or deemed out of scope)
What is the issue you have?
My pair is not serialized as espected and a
Please describe the steps to reproduce the issue.
What is the expected behavior?
i want [["a":2],["a",2]] and not {"a":2}
And what is the actual behavior instead?
i get {"a":2} and if i serialized/deserialized, I lost my data and I get a execution error:
[json.exception.type_error.304] cannot use at() with object.
Which compiler and operating system are you using?
.
Which version of the library did you use?
If you experience a compilation error: can you compile and run the unit tests?