Category: datetime

Symfony serializer cannot deserialize into DateTime

I‘m trying to deserialize a json with the Symfony Serializer into a DTO, but I got always the exception Symfony/Component/Serializer/Exception/MissingConstructorArgumentsException with message ‘Cannot create an instance of DateTime from serialized data because its constructor requires parameter “time” to be present.’….