I need to validate whether the below json-paths are syntactically correct or not:
$[*].key1.key2[*].key3.key4 // valid
$[*].key1/key2[*].key3"key4 // invalid
Is there any API which can check the above json-path expressions and return true/false in Java ?