diff options
author | JamesNK <james@newtonking.com> | 2008-02-28 12:32:09 +0300 |
---|---|---|
committer | JamesNK <james@newtonking.com> | 2008-02-28 12:32:09 +0300 |
commit | 3109027c75beca09701ade023cc0e5f4a439e380 (patch) | |
tree | 7e6da83b7660e5b9be61d78465cee3163c4f787e /Src/Newtonsoft.Json/JsonConverter.cs | |
parent | c1ce4c366fb965c6028d0e766c542504e9a54ee1 (diff) |
New features:
Added support for deserializing to an anonymous type with the DeserializeAnonymousType method.
Support for reading, writing and serializing the new DateTimeOffset type.
Added IsoDateTimeConverter. Converts DateTimes and DateTimeOffsets to and from the ISO 8601 format.
Added JavaScriptDateTimeConverter. Converts DateTimes and DateTimeOffsets to and from a JavaScript date constructor.
XmlNodeConverter handles serializing and deserializing JavaScript constructors.
Ability to force XmlNodeConverter to write a value in an array. Logic is controlled by an attribute, json:Array="true".
Changes:
Dates are now serialized in a JSON complient manner, similar to ASP.NET's JavaScriptSerializer or WCF's DataContractJsonSerializer - http://weblogs.asp.net/bleroy/archive/2008/01/18/dates-and-json.aspx
Removed the AspNetAjaxDateTimeConverter.
Diffstat (limited to 'Src/Newtonsoft.Json/JsonConverter.cs')
-rw-r--r-- | Src/Newtonsoft.Json/JsonConverter.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Newtonsoft.Json/JsonConverter.cs b/Src/Newtonsoft.Json/JsonConverter.cs index bff625b..849f9be 100644 --- a/Src/Newtonsoft.Json/JsonConverter.cs +++ b/Src/Newtonsoft.Json/JsonConverter.cs @@ -40,9 +40,9 @@ namespace Newtonsoft.Json public virtual object ReadJson(JsonReader reader, Type objectType)
{
- throw new NotImplementedException(string.Format("{0} has not overriden FromJson method.", GetType().Name));
+ throw new NotImplementedException(string.Format("{0} has not overriden the ReadJson method.", GetType().Name));
}
public abstract bool CanConvert(Type objectType);
}
-}
+}
\ No newline at end of file |