Commit Graph
208 Commits
Author SHA1 Message Date
James Newton-King 2bf88ebba0 -Added support for falling back to IEnumerable<T> constructor on lists
-Added support for falling back to IEnumerable<KeyValuePair<TKey, TValue>> constructor on dictionaries
2013-03-30 13:57:13 +13:00
James Newton-King 57d9cb898d -Fixed build 2013-03-29 17:03:29 +13:00
James Newton-King efd31db09e -Refactored serializing and deserializing lists and dictionary 2013-03-29 15:52:57 +13:00
James Newton-King 70f5a1dced -Added FloatParseHandling
-Fixed build
2013-03-26 21:53:28 +13:00
James Newton-King e5ee60497e -Fixed converting BigInteger to IConvertable type when deserializing
-Updated build and NuGet files for upgraded builds
2013-03-24 21:37:29 +13:00
James Newton-King 787bde6e15 -Tests
-XML documentation
-Removed generic serialize methods
2013-03-24 14:49:54 +13:00
James Newton-King c4d375dd69 -Fixed StringEnumConverter to throw a JsonSerializerException like the serializer throws for invalid enums
-Changed Windows Phone and Portable builds to use Microsoft.CSharp.dll directly
2013-03-23 12:48:41 +13:00
James Newton-King 1356c31670 -Added BigInteger support 2013-03-16 19:06:05 +13:00
James Newton-King b81dfd352a -Added .NET 4.5 version
-Added IReadOnlyCollection<T> and IReadOnlyDictionary<TKey, TValue> support
-Incremented version to 5.0
2013-03-13 20:44:45 +13:00
James Newton-King 7127b1a070 -Fixed WinRT 2013-03-11 20:26:25 +13:00
James Newton-King 63977c8679 Merge branch 'master' of https://github.com/JamesNK/Newtonsoft.Json 2013-03-11 20:14:46 +13:00
James Newton-King 4d291cfc3d -Upgraded Windows Phone project to WP8 2013-03-11 20:14:24 +13:00
James Newton-King 95bfe15443 Merge branch 'master' of github.com:JamesNK/Newtonsoft.Json 2013-03-11 19:23:59 +13:00
James Newton-King aab01d93ca -Added IConvertible support to JValue
-Changed IDictionary<DateTime, object> to be serialized in ISO date format
-Fixed DataContractAttribute to not be inherited
2013-03-11 19:23:23 +13:00
James Newton-King 0e753888d0 -Fixed bad performance with dynamic
-Added support for creating collections with an IEnumerable<T> constructor
2013-03-11 17:20:15 +13:00
James Newton-King 92de187a74 -Changed portable assembly to .NET 4.5, Silverlight 5, Win8, WP8
-Fixed incorrect namespace when converting XML to JSON
2013-03-06 23:04:26 +13:00
James Newton-King f9fa0b00e7 -Added DeserializeAnonymousType overload with JsonSerializerSettings
-Added support for specifying the root type when serialize JSON to use with TypeNameHandling.Auto
-Fixed recursively reading type wrapper objects when deserializing
2013-02-23 22:09:51 -08:00
James Newton-King 159c5ee8cd -Changed callback collection properties to be readonly 2013-02-14 22:38:37 +13:00
Paul Betts 4bd932396d -add tests for base class object events 2013-02-12 12:12:58 -08:00
James Newton-King c6eff351a4 -Removed old PocketPC ifdefs 2013-02-10 17:49:36 +13:00
James Newton-King 01c3d48ecf -Change FloatFormatHandling.Zero to DefaultValue
-Documentation
2013-02-09 23:17:05 +13:00
James Newton-King 95dd0c0ba4 -Build 2013-02-02 21:16:15 +13:00
James Newton-King 0db89bf5fa -Added FloatFormatHandling to JsonWriter/JsonSerializer/JsonSerializerSettings
-Added DateFormatString to JsonWriter/JsonSerializer/JsonSerializerSettings
-Changed StringEnumConverter to convert an empty string to null for nullable enums
-Changed NaN and Infinity floating point values to be serialized as strings by default
2013-02-02 14:55:28 +13:00
James Newton-King 7899af09c9 -Examples!
-Fixed build
2013-01-25 00:02:58 +13:00
James Newton-King 68eacc480b -JSON Schema fixes
-Fixed static values being included with fields serialization
-Examples! (work in progress)
2013-01-23 21:39:54 +13:00
James Newton-King ed1b7c2f2d -Fixed build 2012-11-19 10:52:46 +13:00
James Newton-King e3be3e43db -Added StringEscapeHandling with options to escape HTML and non-ASCII characters
-Added feature to deserialize ISet<T> properties as HashSet<T>
-Fixed ReferenceLoopHandling not being used when serializing ISerializable and dynamic values
2012-11-18 14:36:00 +13:00
James Newton-King f7018719d4 -Trace ShouldSerialize and IsSpecified 2012-11-12 22:24:26 +13:00
James Newton-King 6fdb354dc0 -Added DiagnosticsTraceWriter and MemoryTraceWriter 2012-11-11 12:12:31 +13:00
James Newton-King 89883dc57b -Added ITraceWriter
-Fixed .NET 2.0 build using DateTimeOffset
2012-11-09 17:10:32 +13:00
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 382fb8df62 -Fixed empty strings not correctly deserializing as null onto nullable properties 2012-10-04 00:02:26 +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 0714c05e6f -Fixed DefaultValueHandling Populate bug 2012-09-01 15:23:17 +12:00
James Newton-King 2320d2d55e -Remove IgnoreAll and move fix to Ignore 2012-09-01 14:08:11 +12: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 689f1a763b -Cleanup unit test project compiler warnings 2012-08-04 13:23:41 +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 be82ab9f0b -Fixed infinite loop error caused by error handling at the end of JSON content 2012-08-02 20:50:44 +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 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 0ba52bbf13 -Fixed ItemConverter not being used when serializing dictionaries
-Fixed an incorrect object being passed to the Error event when serializing dictionaries
2012-06-04 19:01:17 +12:00