Answer the question
In order to leave comments, you need to log in
JMS serializer how to deserialize ManyToOne?
An entity has a property:
/**
* @JMS\Type("App\Entity\Client")
*
* @ORM\ManyToOne(targetEntity=Client::class, inversedBy="orders")
*/
private $client;
{"clientId": 2}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question