Commit Graph
83 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 e2a0191ee5 -Fixed exception message typo
-Fixed serializer sometimes not using DateParseHandling setting
-Fixed error in JsonWriter.WriteToken when writing a DateTimeOffset
-Fixed error when serializing emitted classes that have a constructor with null named parameters (really?)
2012-10-02 21:54:10 +13:00
James Newton-King 0bf5f27f2f -Improved duplicate object reference id error message 2012-09-24 21:12:42 +12:00
James Newton-King efc946d8df -Added GetValue and TryGetValue with StringComparison to JObject
-Fixed SecAnnotate warnings
-Fixed error when comparing empty JObjects
-Fixed error when comparing DateTime JValue with a DateTimeOffset JValue
2012-09-13 22:49:35 +12:00
James Newton-King ce5800fc07 -Renamed Metro project to WinRT
-Incremented version to 4.5.9
2012-09-08 00:07:54 -07:00
James Newton-King d9c8d78d77 -Added IgnoreAll to DefaultValueHandling which ignores all default class/struct/privative values
-Added support for DataMemberAttribute's EmitDefaultValue
-Fixed losing decimal precision when writing JValues
-Fixed error when calling ToList on empty JObjects and JArrays
2012-09-01 13:34:07 +12:00
James Newton-King 6db6db2b40 -Added JsonValueConverter
-Removed SecurityTransparentAttribute from WinRT build
2012-08-15 01:01:59 -07:00
James Newton-King 64414169eb -Fixed error handling serializing invalid JSON in certain cases 2012-08-05 14:20:17 +12:00
James Newton-King d18e7d6490 -Improved error handling to return incomplete values at end of JSON content 2012-08-04 00:58:10 +12:00
James Newton-King 4e4fdde9c4 -Fixed various multidimensional array bugs 2012-08-01 23:19:02 +12:00
James Newton-King 32dc957880 -Properties on dynamic objects with JsonProperty/DataMember will now be included in serialized JSON
-Serialize and deserialize multidimensional arrays
2012-07-31 20:53:26 +12:00
James Newton-King 29f1ed9cd0 -Improved documentation 2012-07-27 22:57:08 +12:00
James Newton-King e156978055 -Included missing documentation code files 2012-07-22 12:49:17 +12:00
James Newton-King 2d35a5e912 -Fixed missing XML documentation
-Updated custom documentation pages to use MAML
2012-07-22 00:11:57 +12:00
James Newton-King 5d83daa804 -Changed LINQ to JSON load methods to support reading past preceding comments 2012-07-16 00:01:40 +12:00
James Newton-King 55a09d2f73 -Handle partial trust when creating uninitialized objects 2012-07-14 11:56:38 +12:00
James Newton-King cfb2499a35 -Changed serializer to create objects using GetUninitializedObject when deserializing fields 2012-07-10 22:57:27 +12:00
James Newton-King 737f490cac -Fixed KeyValuePair case insensitive deserializing
-Fixed KeyValuePair not using contract resolver for property names when serializing
2012-06-30 12:39:39 +12:00
James Newton-King 1b972cd65f -Fixed DefaultValueHandling.Ignore with decimal properties
-Fixed approximate floating point comparisons
2012-06-09 13:54:30 +12:00
James Newton-King 55854f1682 -Fixed time zone unit test failure
-Removed Metro IDictionary copy
-Fixed Metro build
2012-06-08 05:21:58 -07:00
James Newton-King 9396ea0994 -Changed Metro build to use late bound reflection 2012-05-30 19:21:43 +12:00
James Newton-King 2fbf5f7808 -Improved incorrect JSON deserialization error messages
-Fixed constructor name result not being type checked
2012-05-27 01:09:59 +12:00
James Newton-King bdc73900b5 -Added CheckAdditionalContent to JsonSerializer/JsonSerializerSettings
-Fixed bad JSON in an array with error handling creating an infinite loop
-JsonTextReader no longer returns no content after consecutive underlying content read failures
2012-05-17 15:27:26 +12:00
James Newton-King e47a0eab58 -Added IgnoreDataMemberAttribute support 2012-05-13 13:52:26 +12:00
James Newton-King fdabc13d8c -Changed build to create symbols NuGet package 2012-05-08 20:08:21 +12:00
James Newton-King d815dc7749 -Documentation
-Added Path to JsonWriterException
2012-05-07 23:16:24 +12:00
James Newton-King e4491e5812 -Decreased deserializer stack usage 2012-05-06 01:43:20 +12:00
James Newton-King 2dfd0bc940 -Added ItemIsReference, ItemReferenceLoopHandling, ItemTypeNameHandling, ItemConverterType to JsonPropertyAttribute 2012-05-05 20:30:02 +12:00
James Newton-King 0e22f39e12 -Added ItemRequired to JsonObjectAttribute 2012-05-02 23:57:52 +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 ad7bc946f3 -Removed AllowPartiallyTrustedCallers Metro attribute 2012-04-24 12:32:57 +12:00
James Newton-King 7b776e9298 -Added JsonDictionaryAttribute
-Added JsonContainerContract
-Added support for customizing the JsonConverter, type name handling, reference handling of collection items
2012-04-22 23:17:58 +12:00
James Newton-King a7bddf989f -Added Path to JsonReaderException/JsonSerializationException messages
-Added JsonException
-Fixed all Exceptions thrown to be more specific
2012-04-21 17:25:44 +12:00
James Newton-King 10256fcf68 -Added Portable Class Library build 2012-04-18 21:02:34 +12:00
James Newton-King 6725edb75c -Updated to NuGet 1.7
-Fixed JsonWriters not using DateTimeZoneHandling
2012-04-17 19:41:36 +12:00
James Newton-King adecef2126 -Incremented version to 4.5.3
-Changed default DefaultContractResolver.IgnoreSerializableAttribute to true
-Fixed MaxDepth on JsonReader recursively throwing error
-Fixed SerializationBinder.BindToName not being called with full assembly names
2012-04-14 00:58:36 +12:00
James Newton-King 11310fdf05 -Incremented version to 4.5.2
-Fixed failing turkey test
-XML documentation
2012-04-11 18:39:43 +12:00
James Newton-King 2e1211f689 -Fixed comparing JObjects to ignore property order 2012-04-09 16:20:42 +12:00
James Newton-King e3cec969ef -Added support for Serializable attribute and MemberSerialization.Fields
-Added support for ignoring properties with NonSerializable attribute
-Added MaxDepth to JsonReader/JsonSerializer/JsonSerializerSettings
2012-04-08 19:33:09 +12:00
James Newton-King b10ad030ac Merge branch 'master' of github.com:JamesNK/Newtonsoft.Json 2012-03-31 14:39:01 +13:00
James Newton-King a032f4bbf3 -Fixed deserializing a null string throwing a NullReferenceException
-Fixed JsonTextReader reading from a slow stream
-Fixed CultureInfo not being overridden on JsonSerializerProxy
-Fixed full trust security check in .NET 2.0 & .NET 3.5
-Improved writing JSON with indent performance
2012-03-31 14:30:14 +13:00
James Newton-King 2b353d389c -Updated version to 4.5.1
-Changed build script to include Metro build
-Changed build script to set assembly version to major version only
-Documentation
2012-03-19 19:00:51 +13:00
James Newton-King 8471c4ffe1 -Added IgnoreSerializableInterface to DefaultContractResolver
-Changed serializing ISerializable types under partial trust to error to fix security issue
-Fixed LinqBridge collision error in .NET 2.0 by moving types to a different namespace
-Fixed JObject.Keys error when object has no items
2012-03-18 16:24:30 +13: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 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
James Newton-King fb2a5998bc -Added Path to JsonReaderException, JsonSchemaException and ValidationEventArgs
-Fixed Path on JsonValidatingReader
-Fixed path queries over constructors
2012-02-25 16:44:07 +13:00
James Newton-King 0d6ad0b76e -Added Path to JsonReader/JsonWriter/ErrorContext with the JSON path of the current position
-Changed collection type on JsonArrayContract to public
-Changed dictionary key type and dictionary value type on JsonDictionaryContract to public
-Fixed error handling when failing to parse array content
-Fixed error handling when there are missing required properties
2012-02-23 23:07:41 +13:00
JamesNK c876e1d9cc -Fixed reading scientific notation numbers with no decimal point
-Changed the ReadAsXXX methods to return null at the end of an array instead of throwing an error
2012-02-18 01:04:50 +00:00