Commit Graph
22 Commits
Author SHA1 Message Date
JamesNK 03fb558bb9 -Not correctly resizing internal string buffer when parsing long JSON documents 2008-05-28 07:28:03 +00:00
JamesNK 8db3846440 -Correct page titles 2008-05-09 22:22:19 +00:00
JamesNK 5f19fd9a7a -Numbers that contain e should be treated as doubles 2008-05-04 03:16:34 +00:00
JamesNK d88e2cf2ca -Fixes to XML documentation
-Sandcastle Help File Builder project added
-Quickstart guides added
2008-05-04 01:26:44 +00:00
JamesNK 3209f09f0f -XML comments for everything!!!
-Some members changed to internal
2008-04-10 10:30:43 +00:00
JamesNK 11ef223875 -Added some XML comments
-Made some utility methods internal
2008-04-08 08:56:32 +00:00
JamesNK ffe2d91279 Change - Heaps of small changes and bug fixes around LINQ to JSON. Many unit tests added.
Change - CultureInfo is now always passed into FormatWith
2008-04-04 22:45:52 +00:00
JamesNK e469918596 Added opt-in, opt-out serialization option
Added virtual GetSerializableMembers to JsonSerializer
2008-03-29 10:27:44 +00:00
JamesNK 3d150fe2c3 Changes:
Specified CultureInfo when converting to and from strings across Json.NET.

Fixes:
Clone JToken when adding token with a parent to a new token.
2008-03-16 03:04:28 +00:00
JamesNK 010177a27d 2008-03-15 22:33:29 +00:00
JamesNK 4ee5fc3578 New features:
Added Skip() method to JsonReader. Skips the current JSON token and any child tokens.
JsonSerializer now has the ability to populate existing members on an object. This behaviour is controlled by the ObjectCreationHandling property.

Changes:
Improved behaviour of JsonReader.Depth property.

Fixes:
Floating point numbers now use ToString("r") to avoid an overflow error when serializing and deserializing a boundary value.
JsonSerializer now correctly serializes and deserializes DBNull.
JsonSerializer no longer errors when skipping a multi-token JSON structure.
2008-03-15 22:31:36 +00:00
JamesNK e2203d8f63 Removed old tests. Refactored DeserializeAnonymousType method. 2008-03-02 06:57:47 +00:00
JamesNK abd8da25a7 Added JsonTextReader support for NaN, PositiveInfinity and NegativeInfinity constants. 2008-03-02 04:04:04 +00:00
JamesNK 8a64988cb6 New features
-New, more concise, LINQ to JSON querying syntax.
-Added FromObject to JObject, JArray.
-JToken WriteTo method now supports JsonConverters.
-JsonSerializer supports serializing to and from LINQ to JSON objects.
-JsonSerializer properly serializes IEnumerable objects.
-Added Depth property to JsonReader.

Changes
-Made JsonReader and JsonWriter abstract. Added JsonTextReader/JsonNodeReader and JsonTextWriter/JsonNodeWriter.
-Removed JavaScriptObject, JavaScriptArray. Replaced by LINQ to JSON objects.
2008-03-02 03:25:47 +00:00
JamesNK 82e86cdcc7 Tests 2008-03-02 03:20:42 +00:00
JamesNK 2fb34b22bb Tests 2008-03-02 03:18:05 +00:00
JamesNK 38f0c6b81d Remove old test files 2008-03-02 03:11:30 +00:00
JamesNK 3c88523556 Change:
JsonSerializer will serialize null rather than throwing an exception.
2008-02-28 09:53:20 +00:00
JamesNK 3109027c75 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.
2008-02-28 09:32:09 +00:00
JamesNK c1ce4c366f Json.NET 2.0 Beta
New feature - LINQ to JSON!
New feature - Ability to specify how JsonSerializer handles null values when serializing/deserializing.
New feature - Ability to specify how JsonSerializer handles missing values when deserializing.
Change - Improved support for reading and writing JavaScript constructors.
Change - A new JsonWriter can now write additional tokens without erroring.
Bug fix - JsonSerializer handles deserializing dictionaries where the key isn't a string.
Bug fix - JsonReader now correctly parses hex character codes.
2008-02-10 10:56:19 +00:00
JamesNK 487dc81251 Correct bugs in JavaScript string escaping. Add JavaScriptConvertTest. 2007-09-10 11:01:42 +00:00
JamesNK e65bc2becd 2007-09-08 08:59:38 +00:00