public TyonValue DehydrateValue(Type type, object value) { TyonValue tyon_value = CreateTyonValue(type, value); Finish(); return(tyon_value); }
public object HydrateValue(Type type, TyonValue tyon_value) { VariableInstance variable = new Variable_Static_Value("value", type, null) .CreateInstance(); tyon_value.PushToVariable(variable, this); Finish(); return(variable.GetContents()); }
public object HydrateValue(Type type, string text) { return(HydrateValue(type, TyonValue.DOMify(text))); }