From 3109027c75beca09701ade023cc0e5f4a439e380 Mon Sep 17 00:00:00 2001 From: JamesNK Date: Thu, 28 Feb 2008 09:32:09 +0000 Subject: 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. --- Src/Newtonsoft.Json/JsonConverter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Newtonsoft.Json/JsonConverter.cs') 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 -- cgit v1.2.3