Commit Graph
39 Commits
Author SHA1 Message Date
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
JamesNK 399033059b -Added IJsonLineInfo. Implemented by JsonTextReader, JsonTokenReader, JsonValidatingReader, JToken
-Added line details to JsonTextReader exception messages and JsonValidatingReader errors
-Change JsonSchemaGenerator to disable additional properties on sealed classes
-Fixed JsonSchemaGenerator to not output enum values and options for flag enums
2009-01-04 05:26:26 +00:00
JamesNK 0319263756 -Added JSON Schema implementation
-Move test serialization objects to TestObjects namespace
-Fixed JsonConvert to always write a floating point number with a decimal place
-Changed Type values to serialize and deserialize to type name string
-Fixed JsonWriter to allow objects and arrays to be written in a constructor
-Added JsonContainerAttribute with Id, Title and Description members. JsonObject and JsonArray inherit from this attribute
-Added JsonArrayAttribute. Has flag to control whether array can contain null items.
-Added IsRequired to JsonProperty
-Replaced protected method GetSerializableMembers with GetMemberMappings on JsonSerializer
-Fixed QuoteChar not getting set when parsing property name
-Added Load(JsonReader) to JProperty, JConstructor
-Fixed error when populating JProperty with content from collection
-Added the ability for JsonTokenWriter to write individual values as well as arrays and objects
-Added CreateReader to JToken
-Added FromObject to JToken
-Added ReadFrom to JToken
2009-01-02 05:29:31 +00:00
JamesNK f95868233e -Rename JavaScriptConvert to JsonConvert 2008-12-03 05:52:21 +00:00