Commit Graph
45 Commits
Author SHA1 Message Date
James Newton-King 1fa5e4a22e -Added missing XML documentation
-Fixed potential null reference error when getting attributes
-Performance documentation
2012-10-27 19:25:04 +13:00
James Newton-King 028c287cff Merge branch 'master' of https://github.com/JamesNK/Newtonsoft.Json 2012-08-15 01:06:34 -07:00
James Newton-King 44c2773263 -Documentation 2012-08-12 23:04:36 +12:00
James Newton-King 689f1a763b -Cleanup unit test project compiler warnings 2012-08-04 13:23:41 +12:00
James Newton-King 9d7046bca2 -Improve performance and memory usage when serializing Unicode characters 2012-07-09 18:35:41 +12:00
James Newton-King d815dc7749 -Documentation
-Added Path to JsonWriterException
2012-05-07 23:16:24 +12:00
James Newton-King d63e662bda -Fixed DateParseHandling not being overridden on serializer proxy
-License text on all source files
2012-04-25 09:32:32 +12:00
James Newton-King 10256fcf68 -Added Portable Class Library build 2012-04-18 21:02:34 +12:00
James Newton-King 83618b1ea0 -Line endings 2012-04-08 18:10:07 +12:00
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 f9e5745425 -Changed serializer to fallback to use a private default constructor
-Changed error message when deserializing a JSON object/array onto the wrong kind of type to be more descriptive
2012-03-10 17:39:39 +13:00
James Newton-King d32061cd16 -Improved performance issue fix for deeply nested LINQ to JSON objects 2012-03-07 22:59:10 +13:00
James Newton-King c7f5208769 -Added async serialize/deserialize methods to JsonConvert
-Fixed performance issue when deserializing deeply nested JSON to LINQ to JSON objects
2012-03-07 22:08:06 +13:00
James Newton-King fd760e3389 -Added DateFormatHandling to control whether dates are written in the MS format or ISO format, with ISO as the default
-Added DateTimeZoneHandling to control reading and writing DateTime time zone details
-Added reader/writer specific Formatting, DateFormatHandling and DateTimeZoneHandling to JsonSerializerSettings
-Added feature of reader/writer specific settings to be set on JsonReader/JsonWriter when serializing
-Added ReadAsDate to JsonReader
-Added ReadAsString to JsonReader
-Changed JsonTextReader to automatically read ISO strings as dates
-Refactored ReadAsXXX methods and reduce code redundancy
-Removed unused JsonDateTimeSerializationMode
2012-03-04 18:10:20 +06:00
JamesNK 2dd26baa77 -Fixed unit test failing because of timezones
-Added IsValid overload that returns a list of error messages
2012-02-10 23:49:46 +00:00
JamesNK 14a2cb2a8a -Changed version number to 4.0.6 2012-01-23 06:55:47 +00:00
JamesNK 58d51cda5c -Added ReadAsInt32 to JsonReader
-Improved performance by using an enum rather than a type check to test contract type
2012-01-22 01:51:01 +00:00
JamesNK a9e100e0a7 -Added line number information to deserialization errors
-Added BinaryReader/BinaryWriter constructor overloads to BsonReader/BsonWriter
2012-01-19 05:48:24 +00:00
JamesNK b146481c87 -Code clean up
-Various performance improvements
2012-01-18 06:27:43 +00:00
JamesNK b305ba100b -Fix occasional error when converting non-long integer properties to XML
-Fix boolean values sometimes being capitalized when converting to XML
-Fix error when deserializing ConcurrentDictionary
-Fix serializing some Uris
-Change KeyValurPairConverter to not rely on the order of the key and value properties
2011-10-31 23:44:10 +00:00
JamesNK ba6ec3202e -Changed Newtonsoft.Json.Net20.dll to use LinqBridge source code rather than ilmerge to fix error 2011-06-25 04:10:33 +00:00
JamesNK b3cc3e88ac -Rewrote LINQ to JSON internals to use lists and dictionaries rather than a linked list
-Moved JPropertyDescriptor to Newtonsoft.Json.Linq namespace
2011-05-28 00:46:38 +00:00
JamesNK 43501484fb -Added .NET 3.5 build
-Added dynamic support to LINQ to JSON
-Added dynamic support to serializer
2010-09-11 08:06:53 +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 f7cc6abfd9 -Added support for enum values to LINQ to JSON
-Added TypeNameAssemblyFormat property to JsonSerializer. Property controls whether .NET type names are written with a full or partial assembly name
-Added TypeNameHandling to JsonProperty attribute. Allows a type names to be included on an individual property basis
-Fixed serializing HashSet<T>
-Additional permission demands added to DynamicCodeGeneration flag
2010-04-02 09:56:43 +00:00
JamesNK 6ce972156d -New improved BSON writer
-Performance improvement for reference loop checking
2010-03-24 10:43:41 +00:00
JamesNK d93aaf9707 -Update build script to run tests against the final assemblies
-Update psake script to latest version
2010-02-28 07:58:37 +00:00
JamesNK 98164c53a6 -Fixed JsonProperty.Readable and Writable not being correctly set for .NET properties with modified getter/setter visibility
-Fixed error caused by property properties on a base class when reflecting a type
-Fixed property CanRead and CanWrite coming back as false when a base class property has a private getter/setter visibility
2010-02-14 02:58:28 +00:00
JamesNK 75649bfa00 -Add support for reading octal and hexadecimal numbers from JSON
-Fix serializing indexed properties
-Fix serializing JRaw properties
2010-01-08 08:12:40 +00:00
JamesNK 324c4e4bc5 -JsonTextReader, BsonReader performance
-Fix dictionary key encoding when serializing
-Fix WrappedDictionary being set to a property when deserializing
-Fix Silverlight serialization security error
2010-01-01 23:13:35 +00:00
JamesNK 974178a162 -Performance 2009-12-29 02:53:53 +00:00
JamesNK 961945657a -Added JsonPrimitiveContract and JsonLinqContract
-Removed JsonRaw and replaced with JRaw
-Fixed properties on existing derived values not being populated during deserialization
2009-12-27 03:30:43 +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 b6ff852467 -Improve BsonReader string performance 2009-12-09 05:24:06 +00:00
JamesNK 2a63ea24e3 -Added ObjectCreationHandling to JsonPropertyAttribute
-Added IValueProvider, ReflectionValueProvider, DynamicValueProvider
-Added Dynamic.snk
-Added Required enum with options Default, AllowNull and Always
-Added serialization event support to Silverlight version
-Added Converter to JsonProperty for JsonConverter
-Changed IsRequired to Required enum
-Changed schema generator to allow for Required enum options
-Changed Silverlight project version to Silverlight 3
-Improved error message when JSON array encountered for object and vice-versa when deserializing
-Improved error message for converting types when deserializing
-Improved error message from getting and setting properties when serializing and deserializing
-Fixed empty string being converted to null when deserializing
-Removed dependency on Entity Framework and LINQ to SQL assemblies
2009-11-02 08:21:02 +00:00
JamesNK 7e75bbdcf7 -Performance
-Added ConstructorHandling to allow object creation using non-public default constructors
2009-10-10 06:09:15 +00:00
JamesNK ff5c48660d -Added .NET 2.0 support
-Documentation
2009-08-01 12:06:21 +00:00
JamesNK 0319263756 -Added JSON Schema implementation
-Move test serialization objects to TestObjects namespace
-Fixed JsonConvert to always write a floating point number with a decimal place
-Changed Type values to serialize and deserialize to type name string
-Fixed JsonWriter to allow objects and arrays to be written in a constructor
-Added JsonContainerAttribute with Id, Title and Description members. JsonObject and JsonArray inherit from this attribute
-Added JsonArrayAttribute. Has flag to control whether array can contain null items.
-Added IsRequired to JsonProperty
-Replaced protected method GetSerializableMembers with GetMemberMappings on JsonSerializer
-Fixed QuoteChar not getting set when parsing property name
-Added Load(JsonReader) to JProperty, JConstructor
-Fixed error when populating JProperty with content from collection
-Added the ability for JsonTokenWriter to write individual values as well as arrays and objects
-Added CreateReader to JToken
-Added FromObject to JToken
-Added ReadFrom to JToken
2009-01-02 05:29:31 +00:00
JamesNK f95868233e -Rename JavaScriptConvert to JsonConvert 2008-12-03 05:52:21 +00:00
JamesNK a858bebc93 -Changed JSON Date constructors to automatically deserialize to a date 2008-10-27 07:57:26 +00:00
JamesNK 33c2d69b54 -Added compact framework support
-Refactored JavaScriptConvert to not rely on DateTimeOffset when converting dates
-Refactored JsonSerializer to use new CreateInstance on ReflectionUtils
-Deleted JsonHandler
2008-09-21 10:23:55 +00:00
JamesNK e8654d8c03 -Added DefaultValueHandling to JsonSerializer. Option to not write default values when serializing object
-Added JsonSerializerSettings and overloads to JavaScriptConvert.SerializeObject and JavaScriptConvert.DeserializeObject
-Performance improvements
2008-09-14 10:30:38 +00:00
JamesNK ce0148d67f -Fix JsonSerializer.Deserialize to take a TextReader instead of a StringReader 2008-09-08 09:03:21 +00:00
JamesNK d193ae37be -Changed serializer to better work with ICollection<T> when deserializing
-Improved serializer caching of static type data
2008-09-08 08:46:23 +00:00