Commit Graph
116 Commits
Author SHA1 Message Date
James Newton-King 081daae006 -Fixed using FloatParseHandling.Decimal with XmlNodeConverter
-Fixed using DateParseHandling.DateTimeOffset with XmlNodeConverter
2014-04-25 23:38:52 +12:00
James Newton-King 9133626388 -Changed blank XML elements to be written as an empty string instead of null
-Added support for XML document type
-Changed string JValue with a null value to be written as null instead of empty string
-Fixed StringEnumConverter thread safety
2014-04-25 22:36:35 +12:00
Matt Johnson bb1cd89f09 Fix invalid cast with DateTimeOffset
This occurred when using DateParseHandling.DateTimeOffset
2014-04-05 20:16:53 -04:00
James Newton-King 6965fcfa46 -Fixed potential race condition serializing F# objects
-Fixed schema divisible sometimes incorrectly validating to false
-Fixed not calling virtual ShouldSerialize methods
2014-03-31 15:47:36 +13:00
James Newton-King d5b71afc88 -Fixed bug when converting certain XML with namespaces
-Add support for serializing F# lists, sets and maps
2014-03-09 17:46:36 +13:00
Ygal b81b984448 Fix Bug when Convert Xml and Xml dont have namespace and one of children have namespace 2014-02-20 22:36:35 +02:00
James Newton-King 4793c7b5da -Fixed TypeNameHandling.Auto with some JsonConverters
-Fixed TypeNameHandling.Auto with JsonSerializer.Serialize inside a JsonConverter
-Changed assembly version to 6.0.0.0
-Marked async methods on JsonConverter as obsolete
2014-01-29 00:47:01 +13:00
James Newton-King 49a4a94d74 -Fix builds
-Added support for multiple fields in a query indexer
-Renamed DisallowIntegerValues to AllowIntegerValues
2013-12-15 14:17:50 +13:00
James Newton-King 7ab381f2e8 -Fixed builds 2013-12-08 14:38:03 +13:00
James Newton-King c7fd4d5e29 -WinRT build 2013-12-08 13:37:13 +13:00
James Newton-King db51672f60 -Added DisallowIntegerValues setting to StringEnumConverter 2013-12-08 11:33:01 +13:00
James Newton-King d5f606c435 -Fixed casting dynamic base64 string to byte array
-Fixed formatting override on SerializeObject methods
-Added support for deserializing nested DataTables and arrays in DataTables
2013-12-07 16:44:02 +13:00
James Newton-King b96d9fb689 -Fixed incorrect XML documentation
-Fixed writing JValue with readonly JsonConverters
2013-12-06 21:48:00 +13:00
James Newton-King 3e53808b1b -Removed old files 2013-12-01 21:53:55 +13:00
James Newton-King ea87bafc42 -Fixed EntityKeyMemberConverter not using property name resolve
-Added DiscriminatedUnionConverter
2013-12-01 21:53:14 +13:00
James Newton-King 44bc7ea246 -Removed SL/WP code and fiels 2013-10-20 16:41:15 +13:00
James Newton-King bcd6982419 -Code reformat 2013-10-20 15:08:39 +13:00
James Newton-King 2cb89a7a3f -Documentation 2013-10-13 20:31:41 +13:00
James Newton-King 1b63698c02 -Fixed serializing and deserializing flag enums with EnumMember attribute
-Fixed using a type converter on interfaces
-Fixed deserializing ISerializable objects that also implement IConvertible
-Fixed build
2013-05-24 19:16:02 +12:00
James Newton-King 6f2b931a90 -Fixed deserializing Regex when using StringEnumConverter
-Fixed serializing and deserializing typed DataSets
2013-05-04 15:28:01 +12:00
James Newton-King 95665429a4 -Fixed build 2013-04-23 01:26:48 +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 695bb8368f -Fixed build
-Removed unused code
2013-04-06 15:19:33 +13: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 b5e7005735 -Added support for serializing custom IConvertible values
-Refactored away dependency on IConvertible
2013-04-01 12:38:45 +13:00
James Newton-King 08c7055d91 -Performance? 2013-03-31 18:36:09 +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 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 4d291cfc3d -Upgraded Windows Phone project to WP8 2013-03-11 20:14:24 +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 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 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 0bf5f27f2f -Improved duplicate object reference id error message 2012-09-24 21:12:42 +12:00
James Newton-King 39c541fc9c -Change JsonValueConverter to serialize whole numbers without a decimal point 2012-09-08 02:57:14 -07: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 6db6db2b40 -Added JsonValueConverter
-Removed SecurityTransparentAttribute from WinRT build
2012-08-15 01:01:59 -07: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 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 aef0759038 -Fixed deserializer attempting to populate JSON onto an object that was created with a non-default constructor
-Added GetResolvedPropertyName to DefaultContractResolver
2012-05-27 21:29:02 +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 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 83618b1ea0 -Line endings 2012-04-08 18:10:07 +12:00
James Newton-King a139d7bf20 -Fixed XmlNodeConverter not turning all attribute properties into attributes
-Added .gitattributes file
2012-03-31 15:39:53 +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