Interface NodeResolver.Factory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @Nullable NodeResolver make​(java.lang.String name, java.lang.reflect.AnnotatedElement element)
      Create a function that resolves a child node from its parent.
    • Method Detail

      • make

        @Nullable NodeResolver make​(java.lang.String name,
                                    java.lang.reflect.AnnotatedElement element)
        Create a function that resolves a child node from its parent.
        Parameters:
        name - field name
        element - annotations on the field
        Returns:
        null to continue, NodeResolver.SKIP_FIELD to stop further processing and exclude this field from serialization, or a resolver for a node.
        Since:
        4.0.0