[
{"name":"name1"},
{"name":"name2"}
]
$student = $this->serializer->deserialize(
$response->getContent(),
Student::class,
'json'
);
$student = $this->serializer->deserialize(
$response->getContent(),
Student::class.'[]',
'json'
);