Symfony 2 denormalization of nested objects with custom denormalizers
Making your normalizer implement NormalizerAwareInterface
(and eventually use NormalizerAwareTrait
) is the way to go, this interface has been introduced for this specific use case.