Interface ScalarResolver

  • All Known Implementing Classes:
    JsonScalarResolver

    public interface ScalarResolver
    ScalarResolver tries to detect a type of a scalar value by its content (when the tag is implicit)
    • Method Detail

      • resolve

        Tag resolve​(String value,
                    Boolean implicit)
        Resolve (detect) the tag of the scalar node of the given type.
        Parameters:
        value - - the value of the scalar node
        implicit - - true if there was no tag specified (the tag will be resolved)
        Returns:
        the Tag that matches the contents