Hi I am trying to find a way to validate jsonpath entered by user before evaluating it. I was hoping use something like a regex to do that but so far I could not find any doc/resource on how to validate jsonpath syntax.
All searched return resources that talk about evaluating the expression. Even the jayway.JsonPath library does not seem to do any syntax check.
Is it not possible to do a syntax check for jsonpath syntax ? If it is possible can you please point me in the right direction.