The ability to pass a object to fromAttribute
This makes possible to pass a conversion object to fromAttribute
, the object must have parse
and stringify
methods:
person: { type: Object, bind: fromAttribute( JSON ) }
Or
person: { type: Object, bind: fromAttribute( 'attribute-name' , JSON ) }