Commit Graph
102 Commits
Author SHA1 Message Date
James Newton-King ac1a46bd14 -Added IJsonBufferPool, performance stuff 2015-11-12 22:08:39 +13:00
James Newton-King 2bf31b9605 -Added JsonLoadSettings
-Added CommentsHandling
-Changed LINQ to JSON load to ignore array comments by default
2015-10-06 22:17:25 +13:00
James Newton-King 7e04b45894 -Fixed passing default values to constructors 2015-05-03 14:17:25 +12:00
James Newton-King 0f584a6d52 -Added JsonRequiredProperty
-Added JsonSerializerSettings.ReferenceResolverProvider property
-Marked JsonSerializerSettings.ReferenceResolver as obsolete
2015-05-02 19:40:44 +12:00
James Newton-King 8e68f23492 -Set project's intermediate output path 2015-03-21 21:33:18 +13:00
James Newton-King a2e15adf80 -Added AttributeProvider
-Increament version to 7.0.1
2014-12-23 10:57:17 +00:00
James Newton-King e9dc993fc3 -Explicit culture for tests
-Tests
2014-12-22 00:11:57 +13:00
James Newton-King 1337c4f7f7 -Performance 2014-09-28 16:19:18 +13:00
James Newton-King 5fc738247f -Added Merge to LINQ to JSON 2014-08-01 21:27:38 +12:00
James Newton-King ee170dc551 -Incremented version to 6.0.4
-Removed unused file
2014-07-21 14:33:23 +12:00
James Newton-King 9203e97312 -Refactored dynamic type wrapping
-Improved KeyValuePairConverter performance
2014-06-20 19:03:36 +12:00
James Newton-King 2039a29d91 -Rename SpecialPropertyHandling to MetadataPropertyHandling 2014-04-27 15:05:22 +12: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
James Newton-King 0f77cd1b03 -Added SpecialPropertiesHandling 2014-02-12 01:43:46 +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 ea87bafc42 -Fixed EntityKeyMemberConverter not using property name resolve
-Added DiscriminatedUnionConverter
2013-12-01 21:53:14 +13:00
James Newton-King 847e3e5ac2 -JsonPath++ 2013-11-30 13:12:30 +13:00
James Newton-King 1d9154f32f -JsonPath++ 2013-11-19 11:18:26 -08:00
James Newton-King 5ce7d8d3dc -JsonPath++ 2013-11-16 12:30:47 +13:00
James Newton-King ead9b7fe18 -Remove unused file 2013-07-17 00:09:51 +12:00
James Newton-King 423d065c8f -Added support for immutable collections
-Updated NUnit assembly source to NuGet
2013-07-09 00:12:09 +12:00
James Newton-King f68794d206 -Added serialized/deserialized JSON when verbose tracing
-Fixed not using default serializer settings with primitive values and JToken.ToObject
-Fixed error writing BigIntegers with JsonWriter.WriteToken
2013-05-19 22:34:21 +12:00
James Newton-King 64da81d386 -Added JsonDataExtensionAttribute 2013-04-30 00:13:20 +12:00
James Newton-King 31a6a87921 -Fixed unit tests 2013-04-25 15:38:29 +12:00
James Newton-King c2a7341dbc -Added compiled expressions reflection option 2013-04-24 22:56:53 +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 14fa6c021b -Enabled code analysis on all projects
-Fixed build including code analysis files in release packages
2013-04-07 16:54:04 +12:00
James Newton-King 695bb8368f -Fixed build
-Removed unused code
2013-04-06 15:19:33 +13:00
James Newton-King 70f5a1dced -Added FloatParseHandling
-Fixed build
2013-03-26 21:53:28 +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 271ce7f523 -Fixed build 2013-03-21 19:25:47 +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 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 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 a5b49f1199 -Build stuff 2012-04-24 19:40:50 +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 852a980659 -Added DateParseHandling 2012-04-19 00:02:11 +12:00
James Newton-King 83618b1ea0 -Line endings 2012-04-08 18:10:07 +12: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
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 49328ddeb0 -Incremented version to 4.0.8
-Added VersionConverter
-Fixed converting XML to JSON with a default namespace
-Changed Silverlight/Windows Phone assemblies to not be signed
2012-02-10 11:33:45 +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 b3cc3e88ac -Rewrote LINQ to JSON internals to use lists and dictionaries rather than a linked list
-Moved JPropertyDescriptor to Newtonsoft.Json.Linq namespace
2011-05-28 00:46:38 +00:00
JamesNK 39056de238 -Fixed error when reflecting over type that has multiple index properties inherited
-Added ExpandoObjectConverter that deserializes to primitive values rather than LINQ to JSON objects for ExpandObjects
2011-03-25 22:08:41 +00:00
JamesNK 3535173716 -Added JsonConstructorAttribute to explicitly define which constructor to use during deserialization
-Added IFormattable to JValue
-Changed JValue ToString to call ToString on the internal value
-Fixed code emit error when deserializing interfaces in certain situations
2011-01-15 00:44:26 +00:00