Path.compile

bool compile(string expression)

Validates and decomposes the given expression.

A JSONPath expression must be compiled before calling [json.path.Path.match].

Parameters

expressiona JSONPath expression

Returns

TRUE if the compilation was successful, and FALSE

otherwise

Throws

[ErrorWrap]