[][src]Function jmespatch::compile

pub fn compile(expression: &str) -> Result<Expression<'static>, JmespathError>

Compiles a JMESPath expression using the default Runtime.

The default Runtime is created lazily the first time it is dereferenced by using the lazy_static macro.

The provided expression is expected to adhere to the JMESPath grammar: http://jmespath.org/specification.html