Function value_from_ast

Source
pub fn value_from_ast<'a>(
    value: &Value<'a>,
    of_type: &'a Type<'a>,
    variables: Option<&'a Variables<'a>>,
) -> Result<Value>
Expand description

Convert AST Value Node back to a serde_json::Value given a Type definition.