Commit Graph
53 Commits
Author SHA1 Message Date
James Newton-King 88eeb8ba92 -Fixed MetadataTypeAttribute reflection bug by using CustomAttributeData
-Fixed immutable collections bug by getting type from known assembly
-Added support from running tests on aspnetcore50
2014-10-18 00:00:26 +13:00
James Newton-King b550aac6d6 -Updated version to 6.0.6
-Fixed WinRT build
2014-09-29 16:18:13 +13:00
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
James Newton-King 2faf5059bf Merge branch 'master' of https://github.com/JamesNK/Newtonsoft.Json 2014-09-25 20:29:01 +12:00
James Newton-King 64ffa098b9 -Fixed null reference error when using JEnumerable created with default constructor
-Tests
2014-09-25 20:28:47 +12:00
BrandonLWhite 12c33e70d2 Implemented support for passing arguments to parameterized JsonConverter constructors. 2014-09-13 17:48:50 -05:00
James Newton-King 99df43eb4d -Tests line endings 2014-09-12 23:34:20 +12:00
James Newton-King dfb2ac17a5 -Refactor ExceptionAssert 2014-09-12 21:33:53 +12:00
Redth aa6c474999 Changed tests to explicitly assert for strings with \r\n
As opposed to leaving it up to the IDE to decide at compile time by having newlines in the actual document
2014-09-09 09:35:01 -04:00
James Newton-King c987b0509a -Fixed JsonConvert.PopulateObject not setting JsonReader settings 2014-06-15 15:04:17 +12:00
James Newton-King 20eef9b608 -Test 2014-06-14 19:20:09 +12:00
Barry Dorrans 5d186e4ef3 Limited integer parsing to javascript integer size. 2014-05-22 17:17:09 -07: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 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 e77fdf285b -Upgraded to Immutable Collections RTM
-Added missing CLSCompliant attributes
2013-09-30 21:53:19 +13:00
James Newton-King 32f326e46a -Fixed tests 2013-05-08 20:26:32 +12:00
James Newton-King f4d5ace26d -Increment version to 5.0.5 2013-05-08 20:10:13 +12:00
James Newton-King f3ec28a6b3 -Fixed build 2013-04-28 12:49:23 +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 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 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 689f1a763b -Cleanup unit test project compiler warnings 2012-08-04 13:23:41 +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 89ab4c0d1e -Improved deserialization performance by only tracking property presence when needed 2012-05-06 13:47:23 +12:00
James Newton-King e4491e5812 -Decreased deserializer stack usage 2012-05-06 01:43:20 +12:00
James Newton-King bdc5f95c15 -Unit tests 2012-04-24 18:07:38 +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 6725edb75c -Updated to NuGet 1.7
-Fixed JsonWriters not using DateTimeZoneHandling
2012-04-17 19:41:36 +12:00
James Newton-King 83618b1ea0 -Line endings 2012-04-08 18:10:07 +12:00
James Newton-King a032f4bbf3 -Fixed deserializing a null string throwing a NullReferenceException
-Fixed JsonTextReader reading from a slow stream
-Fixed CultureInfo not being overridden on JsonSerializerProxy
-Fixed full trust security check in .NET 2.0 & .NET 3.5
-Improved writing JSON with indent performance
2012-03-31 14:30:14 +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 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
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 1b6fe85808 -Fix exception message spelling mistake 2010-04-10 00:41:36 +00:00
JamesNK 324c4e4bc5 -JsonTextReader, BsonReader performance
-Fix dictionary key encoding when serializing
-Fix WrappedDictionary being set to a property when deserializing
-Fix Silverlight serialization security error
2010-01-01 23:13:35 +00:00
JamesNK f1a9993723 -Added reading and writing binary JSON (BSON) support - work in progress
-Added BsonReader, BsonWriter
-Added support for reading and writing byte arrays to JsonReader, JsonWriter and LINQ to JSON classes
-Added ReadAsBytes to JsonReader
-Changed Silverlight build serializer to look for a TypeConverter
-Changed .NET build to not rely on System.ComponentModel.DataAnnotations assembly to support .NET 4.0 client profile
-Remove DateTimeOffset stand-in from Compact Framework build
-Fixed .NET 2.0 build to run on environments without .NET 2.0 SP1
-Fixed deserialization to always use a new value created from a JsonConverter
-Fixed XmlNodeConverter to support converting comments in JSON
2009-12-06 23:10:14 +00:00
JamesNK b4b3905714 -Added DataSetConverter, DataTableConverter
-Added JPath and SelectToken to JToken
-Fixed schema id not being written for collections
-Fixed TimeSpan serialization on Compact Framework
-Fixed unicode line break string encoding
2009-10-14 02:40:20 +00:00
JamesNK a4022ec5d3 -More documentation (I know!)
-Fixed decimals to always be written with a decimal place
-Replaced IMappingResolver with IContractResolver
-Renamed JsonMemberMapping to JsonProperty
-Added JsonContract, JsonObjectContract, JsonArrayContract, JsonDictionaryContract
-Added support for OnSerializing, OnSerialized, OnDeserializing, OnDeserialized callback methods
-Major refactoring of serialization internals
2009-07-05 02:55:58 +00:00
JamesNK 3b26adfdd1 -Added support for DataContractAttribute and DataMemberAttribute to JsonSerializer
-Added support for serializing private members by marking them with JsonPropertyAttribute or DataMemberAttribute
2009-05-09 10:19:32 +00:00
JamesNK affb9ec906 -Added even more detail to no root XML element exception message when converting JSON to XML. Seriously, if you still get stuck here you're an idiot
-Added NullValueHandling, DefaultValueHandling and ReferenceLoopHandling to JsonPropertyAttribute
-Change JsonMemberMapping from a struct to a class. Now has too many properties for a struct
2009-04-22 05:56:34 +00:00
JamesNK 3e22e30261 -Changed DefaultDateTimeFormat on IsoDateTimeConverter to not display zero milliseconds 2009-04-12 01:21:27 +00:00