Commit Graph
65 Commits
Author SHA1 Message Date
James Newton-King bbcc7e4d54 -Added JValue.CreateNull and JValue.CreateUndefined 2014-04-29 12:20:44 +12:00
James Newton-King 7458cefe95 -Fixed JToken.ReadFrom creating a string value for a comment 2014-04-28 17:11:02 +12:00
James Newton-King b43afdcc0a -Added support for MS format JSON dates to ReadAsDateTime
-Fixed parsing certain JSON with comments into a JObject
-Tests
2014-03-01 18:31:01 +13:00
James Newton-King 7e9824c5f6 -Tests 2013-12-08 11:39:57 +13:00
Athari 7d874c649b Fixed #143 (JObject's implementation of ICustomTypeDescriptor.GetProperties returns incorrect property types) 2013-10-23 17:15:11 +04: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 b6d3168ed8 -Refactored parsing dates
-Refactored writing integers
-Refactored JsonConvert
2013-04-21 18:27:08 +12:00
James Newton-King 2412c99d16 -Removed external API references to BigInteger 2013-04-08 21:12:44 +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 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 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 1fa5e4a22e -Added missing XML documentation
-Fixed potential null reference error when getting attributes
-Performance documentation
2012-10-27 19:25:04 +13:00
James Newton-King efc946d8df -Added GetValue and TryGetValue with StringComparison to JObject
-Fixed SecAnnotate warnings
-Fixed error when comparing empty JObjects
-Fixed error when comparing DateTime JValue with a DateTimeOffset JValue
2012-09-13 22:49:35 +12:00
James Newton-King d9c8d78d77 -Added IgnoreAll to DefaultValueHandling which ignores all default class/struct/privative values
-Added support for DataMemberAttribute's EmitDefaultValue
-Fixed losing decimal precision when writing JValues
-Fixed error when calling ToList on empty JObjects and JArrays
2012-09-01 13:34:07 +12:00
James Newton-King f5fec30c2a -Fixed error when writing JSON for a JProperty with no value
-LINQ to JSON performance improvements
2012-08-11 20:12:49 +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 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 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 436c3f9a93 -Fixed reading invalid unicode surrogate pairs 2012-04-10 20:48:42 +12:00
James Newton-King 2e1211f689 -Fixed comparing JObjects to ignore property order 2012-04-09 16:20:42 +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
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 9ef17d05a3 -Fixed bad BSON when writing long strings of complex UTF8 characters
-Fixed error not being raised for additional content in JSON string for JArray.Parse and JObject.Parse
2011-11-19 03:16:04 +00:00
JamesNK 3baf856f92 -Documentation
-Fixed JObject loading JSON with comments
-Fixed error when using a Specified property with no setter
-Fixed transient constructor error on Windows Phone 7
-Fixed deserializing null values into nullable generic dictionaries
2011-10-01 04:41:09 +00:00
JamesNK 7d3ce867da -Added ToObject to JToken for deserializing LINQ to JSON objects to a .NET object
-Added support for Guid, TimeSpan and Uri to LINQ to JSON
2011-08-05 08:38:47 +00:00
JamesNK f32e1f53c5 -Fixed JToken Load and Parse methods not checking for incomplete content 2010-12-27 10:06:35 +00:00
JamesNK 8546dc4f62 -Added DeserializeObject overload 2010-09-19 10:36:17 +00:00
JamesNK 11ce71ee8b -Added INotifyCollectionChanged to JContainer in .NET 4.0 build
-Changed .NET 3.5 and .NET 4.0 builds to target client frameworks
-Fixed JSON Schema not raising an error for additional properties when the schema has no properties
2010-09-11 22:56:13 +00:00
JamesNK 12a91cce9e -Updated source code to VS2010
-Updated main project to .NET 4.0
-Updated to psake 4.0
-Changed assembly version to 4.0.0.0
-Added ICustomTypeDescriptor implementation to JObject, removed JTypeDescriptionProvider and JTypeDescriptor
-Changed serialization of collections to use iterator rather than indexer
-Removed Compact Framework project
-Fixed XML documentation warnings
2010-08-31 02:19:41 +00:00
JamesNK 6c817fee93 -Improve OverflowException message for integer values larger than an Int64 2010-04-25 07:26:01 +00:00
JamesNK 29b1ff5f0a -Add support for sharing a static cache for contract resolvers inheriting from DefaultControlResolver
-Correct error message when casting non-JValue to a privative type
2010-02-27 22:41:25 +00:00
JamesNK 621916f5a6 -Implemented INotifyCollectionChanged on JContainer in Silverlight
-Added StreamingContext to JsonSerializer
-Added CreateMemberValueProvider method to DefaultContractResolver
-Fixed not falling back the original class from the metadata class when attribute not found
2010-01-19 08:22:35 +00:00
JamesNK 961945657a -Added JsonPrimitiveContract and JsonLinqContract
-Removed JsonRaw and replaced with JRaw
-Fixed properties on existing derived values not being populated during deserialization
2009-12-27 03:30:43 +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 621b647654 -Added DBNull support to JValue 2009-11-05 06:04:58 +00:00
JamesNK 75627d6292 -XML documentation
-Changed OnError to be available in .NET 2.0, Silverlight and Compact Framework builds
-Added StreamingContext stand-in for frameworks where it isn't available
-Split test classes out of JsonSerializerTests
2009-10-10 00:54:01 +00:00
JamesNK be8d951c03 -Fixed exception when loading JObject with multiple properties of the same name. Last property will be used
-Removed redundant ValidateObject method from JContainer
2009-10-03 04:33:15 +00:00
JamesNK fac4f481b3 -Added set indexer to JToken 2009-09-18 21:38:50 +00:00
JamesNK 379c3ce09b -Added more IBindingList functionality
-Fixed many bugs around JProperty and JObject
-Changed JProperty constructor that doesn't take a value to internal
-Added many unit tests
-Renamed CloneNode to CloseToken
-Changed JPropertyDescriptor to always return the token rather than value
2009-09-04 13:46:47 +00:00
JamesNK 95caaf9dc1 -Added type descriptor objects to support JObject property databinding
-Added OnErrorAttribute and ErrorContext for handling serialization errors
2009-08-22 12:01:24 +00:00
JamesNK 7f0bafeea7 -Fixed generic type deserialization with type name tracking enabled 2009-07-30 08:59:07 +00:00
JamesNK 6b19c9cf72 -More documentation
-Changed CustomCreationConverter to throw NotImplementedException when serializing
2009-06-19 12:37:49 +00:00
JamesNK 67654ec106 -JsonObjectAttribute will now force a collection class to be serialized as an object
-Renamed ThreadSafeDictionaryWrapper to ThreadSafeStore
2009-06-18 12:23:49 +00:00
JamesNK 63160b04ff -Added documentation (gasp!)
-Fixed serialization of Uri members on Silverlight/Compact Framework
-Fixed serialization of JToken members
-Fixed (hopefully) cache threading issues
2009-06-16 09:50:59 +00:00