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
$context = new DeserializationContext();
$context->attributes->set('target', $document);
And I guess that probably this is not the best way to do it and it's not very intuitive. I bet a lot of people will thank a proper documentation and/or an easy way to do this.
The text was updated successfully, but these errors were encountered:
luishdez
changed the title
Add documentation for serialize on existing objects.
Add documentation to deserialize on existing objects.
Jul 19, 2018
I've review all issues and I've seen a lot of people struggling with this. This is a very common feature used to build APIs…
I've found and example in the issues using a custom
InitializedObjectConstructor
and then:Then:
And I guess that probably this is not the best way to do it and it's not very intuitive. I bet a lot of people will thank a proper documentation and/or an easy way to do this.
The text was updated successfully, but these errors were encountered: