public static void RegisterObjectConvert <T>( IJsonConvert <T> convert) { ConvertFunc convert_wrapper = delegate(IJsonWrapper input) { return(convert.Convert(input)); }; custom_object_convert[typeof(T)] = convert_wrapper; }
public object Convert(string s) { return(jsonConvert.Convert(s)); }