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
When using Composition of types in a class for json abstraction, constructing the class produces wrong incorrect json when using an initialization list. Passed json objects/docs seem to be pushed back in the json object attribute attached to the class.
Reproduction steps
just call the class constructor of your class and pass in the json object.
Expected vs. actual results
[[10,20,30,40,{"apple":20}]] with initialization list construction.
[10,20,30,40,{"apple":20}] without, manually assign the member attribute to be
Description
When using Composition of types in a class for json abstraction, constructing the class produces wrong incorrect json when using an initialization list. Passed json objects/docs seem to be pushed back in the json object attribute attached to the class.
Reproduction steps
just call the class constructor of your class and pass in the json object.
Expected vs. actual results
[[10,20,30,40,{"apple":20}]] with initialization list construction.
[10,20,30,40,{"apple":20}] without, manually assign the member attribute to be
Minimal code example
Error messages
Compiler and operating system
Windows 10, msvc 1935
Library version
3.11.2
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: