Package org.openrewrite.yaml
Class JsonPathMatcher
- java.lang.Object
-
- org.openrewrite.yaml.JsonPathMatcher
-
public class JsonPathMatcher extends java.lang.ObjectProvides methods for matching the given cursor location to a specified JsonPath expression.This is not a full implementation of the JsonPath syntax documented here: https://support.smartbear.com/alertsite/docs/monitors/api/endpoint/jsonpath.html
-
-
Constructor Summary
Constructors Constructor Description JsonPathMatcher(java.lang.String jsonPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanencloses(org.openrewrite.Cursor cursor)<T> java.util.Optional<T>find(org.openrewrite.Cursor cursor)booleanmatches(org.openrewrite.Cursor cursor)
-