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 as linked in the "see also."
-
-
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)
-