compile

Parses and type-checks text, with blank space allowed around the expression. As with JsonPath.compile, every syntax and type error throws InvalidJsonPathException naming the character offset, and so does text beyond the limits of SPEC.md §10.1, where the filter counts as one level of nesting.