Commit Graph
111 Commits
Author SHA1 Message Date
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 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
James Newton-King c6eff351a4 -Removed old PocketPC ifdefs 2013-02-10 17:49:36 +13:00
James Newton-King b71e17cc42 -Refectored WriteValue(object) 2013-02-10 12:53:03 +13:00
James Newton-King 01c3d48ecf -Change FloatFormatHandling.Zero to DefaultValue
-Documentation
2013-02-09 23:17:05 +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 f98c6a0d8d -Documentation 2013-01-29 21:02:28 +13:00
James Newton-King 1c0e2856c2 -Samples! 2013-01-28 23:20:05 +13:00
James Newton-King 70ace8d527 -Examples! 2013-01-28 00:07:21 +13:00
James Newton-King fd7970a3c3 -Examples! 2013-01-26 14:46:05 +13:00
James Newton-King 406762b187 -Reorganized samples 2013-01-25 00:23:03 +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 e3a720504e -Lots and lots of JSON Schema work
-JSON Schema spec tests added
-Added Path to JToken
-Fixed JTokenWriter returning null reference
-Build script logging
-Documentation
-Updated to NUnit 2.6
2012-12-31 00:53:08 +13:00
James Newton-King 9160416fc3 -Maded explicit JValue conversions more flexible converting values
-Added implicit conversions for Uri, TimeSpan, Guid
-Fixed JValue constructors for Uri, TimeSpan, Guid assigning incorrect JTokenType
2012-11-20 00:44:04 +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 c06c7b8aae -Added a special case to correctly deserialize Version class
-Changed Silverlight and Windows Phone assemblies in NuGet to be strong named
-Changed CamelCasePropertyNamesContractResolver to improve camel casing property names
-Fixed QuoteChar not being used when writing DateTimes, TimeSpans, Uris and Guids
2012-11-04 14:44:55 +13:00
James Newton-King b51b3aa20a -Documentation 2012-11-03 12:54:05 +13:00
James Newton-King 5edfc72d67 -Documentation 2012-11-02 15:25:39 +13:00
James Newton-King 92ce080f24 -Documentation
-Performance
2012-11-01 17:32:05 +13:00
James Newton-King d92b8ceeb5 -Documentation 2012-10-31 13:24:47 +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 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