protected function setDeserializationVisitors(Container $app, SerializerBuilder $serializerBuilder)
    {
        $serializerBuilder->addDefaultDeserializationVisitors();

        foreach ($app["serializer.deserializationVisitors"] as $format => $visitor) {
            $serializerBuilder->setDeserializationVisitor($format, $visitor);
        }
    }
protected function setDeserializationVisitors(Container $app, SerializerBuilder $serializerBuilder)
    {
        $serializerBuilder->addDefaultDeserializationVisitors();

        foreach ($app["serializer.deserializationVisitors"] as $format => $visitor) {
            $serializerBuilder->setDeserializationVisitor($format, $visitor);
        }
    }
protected function setDeserializationVisitors ( Container $ app , SerializerBuilder $ serializerBuilder ) { $ serializerBuilder -> addDefaultDeserializationVisitors ( ) ; foreach ( $ app [ "serializer.deserializationVisitors" ] as $ format => $ visitor ) { $ serializerBuilder -> setDeserializationVisitor ( $ format , $ visitor ) ; } }
Override default deserialization visitors

@param Container $app
@param SerializerBuilder $serializerBuilder
Override default deserialization visitors