-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Description
Thanks for a great library.
It would be a nice feature to be able to unmarshal to custom JavaScript classes.
I've implemented this in two ways:
- Rewrite
Jsonix.Model.ClassInfo
sounmarshal
creates an instance of a custom class (instead of an empty object) to be used as the result if a type is defined intypeInfo
.
(7329373 and working example) - Derive
Jsonix.Model.CustomClassInfo
fromClassInfo
sounmarshal
creates an instance of a custom class and extends it with attributes from super class' result.
(0b79975 and working example)
What do you think?
Metadata
Metadata
Assignees
Labels
No labels