Interface ResolvableSerializer

    • Method Detail

      • resolve

        void resolve​(SerializerProvider provider)
              throws JsonMappingException
        Method called after SerializerProvider has registered the serializer, but before it has returned it to the caller. Called object can then resolve its dependencies to other types, including self-references (direct or indirect).

        Note that this method does NOT return serializer, since resolution is not allowed to change actual serializer to use.

        Parameters:
        provider - Provider that has constructed serializer this method is called on.
        Throws:
        JsonMappingException