pub fn ast_from_value<'a>(
ctx: &'a ASTContext,
value: &Value,
of_type: &'a Type<'a>,
) -> Result<Value<'a>>
Expand description
Convert serde_json::Value to an AST Value Node given a Type definition.
pub fn ast_from_value<'a>(
ctx: &'a ASTContext,
value: &Value,
of_type: &'a Type<'a>,
) -> Result<Value<'a>>
Convert serde_json::Value to an AST Value Node given a Type definition.