Struct jmespath::Runtime [] [src]

pub struct Runtime { /* fields omitted */ }

Compiles JMESPath expressions.

Most use cases don't need to worry about how Runtime works. You really only need to create your own Runtimes if you are utilizing custom functions in your expressions.

Methods

impl Runtime
[src]

Creates a new Runtime.

Creates a new JMESPath expression from an expression string.

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

Adds a new function to the runtime.

Removes a function from the runtime.

Returns the function that was removed if it was found.

Gets a function by name from the runtime.

Registers all of the builtin JMESPath functions with the runtime.