public string Serialize(Type type, object obj) { JsonSerializer ser = new JsonSerializer(); return ser.Serialize(type, obj); }
public object Deserialize(Type type, string objectGraph) { JsonSerializer ser = new JsonSerializer(); return ser.Deserialize(type, objectGraph); }