Interface PathElement.Builder

    • Method Detail

      • index

        PathElement.Builder index​(Integer index)

        Refers to an index in a JSON array.

        Parameters:
        index - Refers to an index in a JSON array.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • key

        PathElement.Builder key​(String key)

        Refers to a key in a JSON object.

        Parameters:
        key - Refers to a key in a JSON object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • substring

        PathElement.Builder substring​(Substring substring)

        Refers to a substring of a literal string in a JSON object.

        Parameters:
        substring - Refers to a substring of a literal string in a JSON object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        PathElement.Builder value​(String value)

        Refers to the value associated with a given key in a JSON object.

        Parameters:
        value - Refers to the value associated with a given key in a JSON object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.