Commit Graph
26 Commits
Author SHA1 Message Date
James Newton-King 5800e97ff3 -Added Newtonsoft.Json.Metro build (whew, what a pain!)
-Added .gitignore file
2012-03-15 18:34:51 +13:00
James Newton-King 4f8832adc0 -Fixed error when deserializing nullable types with no content
-Changed JsonReaders to set TokenType to JsonToken.None after finishing content
-Changed the ReadAsXXX methods to return null instead of throwing an error when there is no content
2012-02-19 01:25:47 +13:00
JamesNK 6ce847411a -Fixed attributes on nullable structs not being used
-Fixed deserializing nullable enums
-Fixed JsonConstructorAttribute incorrectly being allowed on properties
-Added new NUnit
2012-02-03 02:31:56 +00:00
JamesNK 9ef17d05a3 -Fixed bad BSON when writing long strings of complex UTF8 characters
-Fixed error not being raised for additional content in JSON string for JArray.Parse and JObject.Parse
2011-11-19 03:16:04 +00:00
JamesNK da7e4508d7 -Fixed deserializing byte arrays with type name information 2011-11-01 12:37:47 +00:00
JamesNK 7d3ce867da -Added ToObject to JToken for deserializing LINQ to JSON objects to a .NET object
-Added support for Guid, TimeSpan and Uri to LINQ to JSON
2011-08-05 08:38:47 +00:00
JamesNK 44ab7f71df -Fixed DataTable and DataColumn names not being modified by CamelCasePropertyNamesContractResolver 2011-08-03 00:50:44 +00:00
JamesNK 76706c6cd2 -Fixed BsonWriter failing silently when writing values outside of an Object or Array
-Fixed serializer attempting to use dynamic code generation in partial trust
2011-05-21 04:05:48 +00:00
JamesNK 6a49425267 -Changed BsonReader/BsonWriter to close the underlying stream by default when closed
-Added CloseInput/CloseOutput to JsonReader/JsonWriter to control whether the underlying stream is closed. Default to true
2011-03-22 05:48:52 +00:00
JamesNK 2c92f69c74 -Fixed JsonNet35BinaryCompatibility spelling
-Fixed Specified properties incorrectly needing XmlIgnore attribute
2010-12-23 19:27:38 +00:00
JamesNK 5ccd826951 -Change BSON writer to write new binary subtype
-Fix BSON reader to read the old binary subtype correctly
-Added JsonNet35BinaryCompadibility to BSON reader for incorrectly written BSON binary values
-Changed JSON schema to use required flags instead of optional as defined in JSON schema spec 3.0
-Changed JSON schema to use divisibleBy instead of maxDecimals as defined in JSON schema spec 3.0
-Fixed detection of serialization specified flag properties
-Updated to latest version of NuGet
2010-12-19 00:29:41 +00:00
JamesNK fbfadea38a -Fix JTokenReader.ReadAsBytes and null values
-Fix JsonProperty inheritance on overriden properties
2010-08-07 07:05:37 +00:00
JamesNK c2800930ab -Added DateTimeKindHandling to BsonWriter to control how a DateTime is converted prior to being serialized
-Added Required.Always attribute validation when writing JSON as well reading
-Added TypeNameHandling.Auto to automatically write the type name when a value doesn't match the declared type
-Fixed reading multi-byte strings in BSON
2010-07-03 09:53:57 +00:00
JamesNK fc6c041196 -Performance
-Add CLSCompliant attributes
-Fix BSON string reading bug
2010-05-11 07:49:02 +00:00
JamesNK 873a23a0f8 -XML documentation 2010-04-17 05:49:55 +00:00
JamesNK b0c6db675e -Added WriteRegex to BsonWriter
-Added RegexConverter
-Fixed BsonWriter writing empty string instead of null
2010-03-27 06:18:40 +00:00
JamesNK 6ce972156d -New improved BSON writer
-Performance improvement for reference loop checking
2010-03-24 10:43:41 +00:00
JamesNK d393430f30 -Fix reading BSON multi byte utf8 characters 2010-03-20 01:29:02 +00:00
JamesNK 6d67aefac7 -Added ReflectionDelegateFactory, DynamicReflectionDelegateFactory and LateBoundDelegateFactory to support switching between dynamic and late bound reflection for medium trust environments
-Added WriteObjectId to BsonWriter
-Added BsonObjectId and BsonObjectIdConverter classes
-Added KeyValuePairConverter
-Added DynamicCodeGeneration flag to DefaultContractResolver
-Changed JsonConverter.ReadJson to add an extra parameter: currentValue
2010-03-17 06:53:47 +00:00
JamesNK be6ed7daaa -Added ReadRootValueAsArray, DateTimeKindHandling properties to BsonReader
-Included BSON is .NET 2.0, Silverlight and Compact Framework builds
2010-01-22 22:17:56 +00:00
JamesNK f9b34390f5 -Fix deserializing empty BSON structures
-Fix error message when attempting to deserialize custom dictionary with no default constructor
-Fix serializing private base members marked with JsonProperty attribute
-Fix performance issue when deserializing to object member
2010-01-16 06:10:10 +00:00
JamesNK 9144bc6c80 -Added DateTimeConverterBase
-Changed class converter to be resolved from contract
-Changed built in converters to be resolved once when the contract is created. Big performance gain!
2009-12-26 18:51:39 +00:00
JamesNK f574bfbf83 -Fixed JTokenWriter not writing comments
-Fixed BsonWriter not erroring when writing non-BSON compatible content
2009-12-20 00:16:02 +00:00
JamesNK b6ff852467 -Improve BsonReader string performance 2009-12-09 05:24:06 +00:00
JamesNK 5cc46295c8 -Additional BSON work and tests 2009-12-07 11:24:34 +00:00
JamesNK f1a9993723 -Added reading and writing binary JSON (BSON) support - work in progress
-Added BsonReader, BsonWriter
-Added support for reading and writing byte arrays to JsonReader, JsonWriter and LINQ to JSON classes
-Added ReadAsBytes to JsonReader
-Changed Silverlight build serializer to look for a TypeConverter
-Changed .NET build to not rely on System.ComponentModel.DataAnnotations assembly to support .NET 4.0 client profile
-Remove DateTimeOffset stand-in from Compact Framework build
-Fixed .NET 2.0 build to run on environments without .NET 2.0 SP1
-Fixed deserialization to always use a new value created from a JsonConverter
-Fixed XmlNodeConverter to support converting comments in JSON
2009-12-06 23:10:14 +00:00