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
You "override" JSON::Object creation by implementing your PersonHandler::asVar() to return a Dynamic::Var which can be converted to Person.
As things stand now, it is doable, but not in an optimal way because ParseHandler::setValue() is private and so the whole handler should be reimplemented. We'll make it protected for 1.13
Is it possible to parse json into specified descendant class?
I've seen handlers but didn't find any explicit way to override JSON::Object creation
The text was updated successfully, but these errors were encountered: