public static object FromJson(this string content, object defaultValue) { return(SimpleJson.Resolve().DeserializeObject(content, defaultValue)); }
public static T FromJson <T>(this string content, T defaultValue) { var instance = SimpleJson.Resolve().DeserializeObject(content, defaultValue); return(instance); }
public static string ToJson(this object value, bool indented) { return(SimpleJson.Resolve().SerializeObject(value, indented)); }