This is rather a quick question, is there a way to deserialize a JSON Object into an Entity using an existing view for the Entity?
The case use is basically as follows. We call a REST method to another server of our application and we get an item persisted on the other server, serialized as a JSON Object with a view (“substance-view”). What we noticed is that when deserializing the JSON, the instances are created using the _minimal view for associated entities, thus losing some of the important information about this associated entity. So is there a way to specify which view to use or should we extend the _minimal (which I believe is a “dirtier” solution)?
Thanks beforehand!
Regards,
T.
PS: We are currently using the EntitySerializationAPI.