java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.JsonPath

public final class JsonPath extends Object
A simple JSON Path.
  • Method Details

    • of

      @Nonnull public static JsonPath of(@Nonnull String... nodes)
      Static factory method for JsonPath.
      Parameters:
      nodes - An ordered enumeration of node names to form a JSON path.
      Returns:
      A new instance.
    • ofRoot

      @Nonnull public static JsonPath ofRoot()
      Static factory method for an empty JsonPath. Pointing at the root JSON tree.
      Returns:
      A new instance.
    • getNodes

      @Nonnull public List<String> getNodes()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object