How can I write from_json for a complex datatype that is not default constructible? #1115
Labels
kind: question
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Hi. This is more of a question rather than a issue.
I have a requirement where I need to create objects from serialized json (serialized using this library only) but those types are not default constructible. I went through the section regarding get() for non-default constructible/non-copyable types but wasn't sure as to how am I supposed to use it for a complex datatype.
Can you please help?
The text was updated successfully, but these errors were encountered: