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
Hello,
I want to serialize a list which contains a class objects. How can I do that using json. For a list of regular types I understand, but when I try to use json j_list(listName), and the listName is a list of objects I receive some errors from to_json method and 'force_msvc_stacktrace'.
This is the code.
std::list<Student>studentList;
// populate studentList with objects of Student class
You can close the issue. Thank you! :D
On Wednesday, 23 May 2018, 08:42:04 EEST, Niels Lohmann <notifications@github.com> wrote:
@AncaMRG Do you need further assistance or can I close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Hello,
I want to serialize a list which contains a class objects. How can I do that using json. For a list of regular types I understand, but when I try to use json j_list(listName), and the listName is a list of objects I receive some errors from to_json method and 'force_msvc_stacktrace'.
This is the code.
// populate studentList with objects of Student class
What should I do to I make this work?
Thank you! :D
The text was updated successfully, but these errors were encountered: