Commit Graph
127 Commits
Author SHA1 Message Date
James Newton-King c2a7341dbc -Added compiled expressions reflection option 2013-04-24 22:56:53 +12:00
James Newton-King 2bdf5c9b88 -Fixed not overflowing during integer parse 2013-04-23 01:05:30 +12:00
James Newton-King 6d109a4c55 -Reduced string allocations 2013-04-22 23:55:21 +12:00
James Newton-King b6d3168ed8 -Refactored parsing dates
-Refactored writing integers
-Refactored JsonConvert
2013-04-21 18:27:08 +12:00
James Newton-King 2412c99d16 -Removed external API references to BigInteger 2013-04-08 21:12:44 +12:00
James Newton-King 1abcfb1ace -Fixed error when populating onto read only collections
-Fixed serializing hidden properties
-Readded DataContractAttribute inheritance
2013-04-07 03:55:35 +12:00
James Newton-King 032bf82e0a -Readded .NET 4, SL4, WP7, Win8 portable library
-Disable SL library build
2013-04-06 11:38:01 +13:00
James Newton-King 8e14d1c66c -Fixed build 2013-04-01 13:04:37 +13:00
James Newton-King 77bce8f5de -Changed portable assembly to be .NET 4.5, WP8, Win8 2013-03-31 16:12:52 +13:00
James Newton-King 0007006850 -Added support for deserializing IList
-Fixed bugs
2013-03-30 20:46:11 +13:00
James Newton-King 57d9cb898d -Fixed build 2013-03-29 17:03:29 +13:00
James Newton-King 70f5a1dced -Added FloatParseHandling
-Fixed build
2013-03-26 21:53:28 +13:00
James Newton-King d9d96b3e5c -Fixed build 2013-03-24 17:21:38 +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 e857e48564 -Changed serialization callbacks on JsonContract to delegates
-Added Obsolete attributes to old serialization methods on JsonContract
-Added VS and ReSharper settings files
-Fixed converting null JSON value to XML
-Fixed tests
2013-03-17 14:25:01 +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 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