Commit Graph
74 Commits
Author SHA1 Message Date
James Newton-King 1337c4f7f7 -Performance 2014-09-28 16:19:18 +13:00
James Newton-King 6a22345e28 -Bug fix 2014-09-25 21:04:24 +12:00
dogwatch b7c92fdeb9 Update JsonConvert.cs 2014-09-16 21:58:37 +04:00
dogwatch 040701ed68 Update JsonConvert.cs 2014-09-16 21:37:39 +04:00
James Newton-King 57ccaf00bf -Improved Portable40 assembly performance by using compiled expression reflection
-Fixed converting string JValues to enums with JToken.ToObject
2014-08-24 23:33:08 +12:00
James Newton-King 8c73a55c68 -Dependency NuGet packages no longer in source control 2014-06-07 12:54:08 +02: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 b3369a45cd -Fixed compiler warnings
-Changed PopulateObjectAsync to be obsolete
2014-01-30 00:36:23 +13: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 f878541047 -Incremented version to 6.0.1
-Changed .NET 4 Portable NuGet target to portable-net40+sl5+wp80+win8+monotouch+monoandroid
-Fixed Uri serialization roundtrip by using Uri.OriginalString
-Added Decimal and DateTimeOffset constructors to JValue
-Changed DefaultMemberSearchFlags on DefaultContractResolver to obsolete
2014-01-09 22:01:10 +13:00
James Newton-King d529190b46 -Fixed error on no result for JSON Path queries
-Fixed not disposing JsonReader/JsonWriter in some places
2013-12-22 13:52:56 +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 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 9f9dff9eb9 -Added XML documentation
-Fixed various compiler warnings
2013-10-06 12:48:05 +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 0f4ad7cd4b -XML documentation 2013-05-05 12:28:21 +12:00
James Newton-King a7d47558d8 -Added default serializer settings 2013-04-28 12:27:47 +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 c032b292bb -Improved memory usage 2013-04-20 15:45:34 +12:00
James Newton-King 164edc1db8 -Removed missed BigInteger reference 2013-04-08 21:23:31 +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 b5e7005735 -Added support for serializing custom IConvertible values
-Refactored away dependency on IConvertible
2013-04-01 12:38:45 +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 787bde6e15 -Tests
-XML documentation
-Removed generic serialize methods
2013-03-24 14:49:54 +13:00
James Newton-King 1356c31670 -Added BigInteger support 2013-03-16 19:06:05 +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 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 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 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 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 29f1ed9cd0 -Improved documentation 2012-07-27 22:57:08 +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 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 9c7fb730f2 -Fixed Metro build 2012-03-15 19:36:29 +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 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 f8a13d7aa3 -Xml documentation 2012-03-05 19:30:14 +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 4f8832adc0 -Fixed error when deserializing nullable types with no content
-Changed JsonReaders to set TokenType to JsonToken.None after finishing content
-Changed the ReadAsXXX methods to return null instead of throwing an error when there is no content
2012-02-19 01:25:47 +13:00
JamesNK 58d51cda5c -Added ReadAsInt32 to JsonReader
-Improved performance by using an enum rather than a type check to test contract type
2012-01-22 01:51:01 +00:00
JamesNK faf6426527 -Rewrote JsonTextReader to use internal buffer to improve performance
-Improved JsonSerializer to cache contract/converters where possible to improve performance
-Improved JsonTextReader error message when additional JSON content found
-Fixed internal exception thrown when deserializing Decimal/DateTimeOffset/Byte lists
-Fixed various JsonTextReader bugs
2012-01-16 06:53:41 +00:00
JamesNK 90297804e1 -Performance improvements 2012-01-08 00:54:53 +00:00
JamesNK c7de25a37a -Changed time zone conversions to use new TimeZoneInfo instead of TimeZone 2011-11-01 10:45:46 +00:00
JamesNK b305ba100b -Fix occasional error when converting non-long integer properties to XML
-Fix boolean values sometimes being capitalized when converting to XML
-Fix error when deserializing ConcurrentDictionary
-Fix serializing some Uris
-Change KeyValurPairConverter to not rely on the order of the key and value properties
2011-10-31 23:44:10 +00:00