public static object To(this WebExpander e, string s, Type type, WebConverter converter = null) { return((converter ?? Converter).Deserialize(s, type)); }
public static T To <T>(this WebExpander exp, string json, WebConverter converter = null) { return((T)(converter ?? Converter).Deserialize(json, typeof(T))); }
public static string Of(this WebExpander e, object value, WebConverter converter = null) { return((converter ?? Converter).Serialize(value)); }