Function jmespath::to_variable [] [src]

pub fn to_variable<T>(value: T) -> Result<Variable, Error> where
    T: Serialize

Shortcut function to encode a T into a JMESPath Variable