Commit Graph
147 Commits
Author SHA1 Message Date
James Newton-King a5b49f1199 -Build stuff 2012-04-24 19:40:50 +12:00
James Newton-King ec6d3c1b53 -Turkey test fixed 2012-04-24 18:31:07 +12:00
James Newton-King d49d7d1b0f -Fixed test when assembly strong named 2012-04-23 22:25:35 +12:00
James Newton-King 640af61996 -Portable build issue fixed for realz 2012-04-23 21:27:18 +12:00
James Newton-King d086c841db -Portable build issue fixed (hopefully) 2012-04-23 21:18:21 +12:00
James Newton-King edfec3f8b8 -Fixed Metro and Portable builds 2012-04-23 00:04:58 +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 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 fa3debccad -Fixed Metro build 2012-04-14 01:24:00 +12:00
James Newton-King 9927dd86bd Merge branch 'master' of github.com:JamesNK/Newtonsoft.Json 2012-04-14 01:02:50 +12:00
James Newton-King adecef2126 -Incremented version to 4.5.3
-Changed default DefaultContractResolver.IgnoreSerializableAttribute to true
-Fixed MaxDepth on JsonReader recursively throwing error
-Fixed SerializationBinder.BindToName not being called with full assembly names
2012-04-14 00:58:36 +12:00
James Newton-King d1601aa772 -Fixed Metro build 2012-04-11 19:56:33 +12:00
James Newton-King 11310fdf05 -Incremented version to 4.5.2
-Fixed failing turkey test
-XML documentation
2012-04-11 18:39:43 +12:00
James Newton-King 436c3f9a93 -Fixed reading invalid unicode surrogate pairs 2012-04-10 20:48:42 +12:00
James Newton-King e3cec969ef -Added support for Serializable attribute and MemberSerialization.Fields
-Added support for ignoring properties with NonSerializable attribute
-Added MaxDepth to JsonReader/JsonSerializer/JsonSerializerSettings
2012-04-08 19:33:09 +12:00
James Newton-King 83618b1ea0 -Line endings 2012-04-08 18:10:07 +12:00
James Newton-King b10ad030ac Merge branch 'master' of github.com:JamesNK/Newtonsoft.Json 2012-03-31 14:39:01 +13: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 60004065fd -Fixed Metro build 2012-03-19 00:03:20 +13: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 f9e5745425 -Changed serializer to fallback to use a private default constructor
-Changed error message when deserializing a JSON object/array onto the wrong kind of type to be more descriptive
2012-03-10 17:39:39 +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 fb2a5998bc -Added Path to JsonReaderException, JsonSchemaException and ValidationEventArgs
-Fixed Path on JsonValidatingReader
-Fixed path queries over constructors
2012-02-25 16:44:07 +13:00
James Newton-King 0d6ad0b76e -Added Path to JsonReader/JsonWriter/ErrorContext with the JSON path of the current position
-Changed collection type on JsonArrayContract to public
-Changed dictionary key type and dictionary value type on JsonDictionaryContract to public
-Fixed error handling when failing to parse array content
-Fixed error handling when there are missing required properties
2012-02-23 23:07:41 +13: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 2dd26baa77 -Fixed unit test failing because of timezones
-Added IsValid overload that returns a list of error messages
2012-02-10 23:49:46 +00:00
JamesNK 06d92a8963 -Fixed not replacing ignored properties in JsonPropertyCollection 2012-02-09 11:11:23 +00:00
JamesNK ea72817034 -Fixed empty string being changed to null on object properties 2012-02-05 23:20:29 +00:00
JamesNK 6ce847411a -Fixed attributes on nullable structs not being used
-Fixed deserializing nullable enums
-Fixed JsonConstructorAttribute incorrectly being allowed on properties
-Added new NUnit
2012-02-03 02:31:56 +00:00
JamesNK 3d43fc9c4f -Increment version to 4.0.7
-Fixed circular reference error when serializing nullable structs
-Fixed JsonReader.ReadAsXXX methods not converting string values
2012-01-24 09:12:32 +00:00
JamesNK b82d26028d -Fixed test 2012-01-23 07:22:17 +00:00
JamesNK 14a2cb2a8a -Changed version number to 4.0.6 2012-01-23 06:55:47 +00: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 a9e100e0a7 -Added line number information to deserialization errors
-Added BinaryReader/BinaryWriter constructor overloads to BsonReader/BsonWriter
2012-01-19 05:48:24 +00:00
JamesNK 2941344044 -Fixed serializing types with hidden properties 2012-01-16 08:00:48 +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 48dd217c84 -Updated build number
-Example SerializationBinder test
2011-11-19 09:10:38 +00:00
JamesNK 69594a690f -Fixed DataTableConverter including nulls with NullValueHandling.Ignore 2011-11-19 07:04:38 +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 5831b11de1 -Fixed flag enum items not being correctly camel cased
-Fixed JsonValidatingReader not validating the first array item twice
-Fixed JsonSchema not correctly validating integers as a subset of decimal
-Changed JsonTextReader.Culture to be CultureInfo.InvariantCulture by default
2011-11-18 09:36:01 +00:00
JamesNK da7e4508d7 -Fixed deserializing byte arrays with type name information 2011-11-01 12:37:47 +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
JamesNK 4f947d9207 -Documentation
-Fixed potential casting error when writing JSON using a JsonReader
2011-10-01 11:32:48 +00:00
JamesNK b5f5db5624 -Improve TypeNameHandling.Auto to skip adding an unneeded type name for collection interfaces 2011-10-01 11:10:11 +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