James Newton-King
f8a13d7aa3
-Xml documentation
2012-03-05 19:30:14 +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
c876e1d9cc
-Fixed reading scientific notation numbers with no decimal point
...
-Changed the ReadAsXXX methods to return null at the end of an array instead of throwing an error
2012-02-18 01:04:50 +00:00
JamesNK
446b6f0d0a
-Fixed build to not include nested directories in NuGet package
2012-02-12 01:08:20 +00:00
JamesNK
e2bccde9bf
-Updated versions.txt
2012-02-12 00:27:58 +00:00
JamesNK
44fbd5a917
-Modified build to compile both signed and unsigned Silverlight/Windows Phone assemblies
2012-02-11 23:44:38 +00:00
JamesNK
7b908df64d
-Fixed JsonValidatingReader.ReadAsBytes throwing exception
...
-Minor NuGet spec updates
2012-02-11 07:00:18 +00: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
68a200127a
-Fixed build file
2012-02-10 11:56:05 +00: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
3bebf5c765
-Fixed JsonReader.ReadAsDateTimeOffset error message
2012-02-09 11:18:37 +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
c5f1074e70
-Remove old NUnit
2012-02-03 02:28:48 +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
0c873da0b2
-Fixed Windows Phone build
2012-01-22 02:00:25 +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
cd424a7bc5
-Fixed BsonReader to use BinaryReader instead of base stream
2012-01-19 08:30:00 +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
b146481c87
-Code clean up
...
-Various performance improvements
2012-01-18 06:27:43 +00:00
JamesNK
61db48c01d
-Removed unused utility methods
...
-Fixed various code warnings
2012-01-17 11:22:16 +00:00
JamesNK
2941344044
-Fixed serializing types with hidden properties
2012-01-16 08:00:48 +00:00
JamesNK
45cbd34daa
-Fixed potential multi-threading serializing issue
2012-01-16 07:22:26 +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
b00ff2d37b
-Fixed elusive Intellitrace runtime destabilization error
2012-01-10 05:19:43 +00:00
JamesNK
90297804e1
-Performance improvements
2012-01-08 00:54:53 +00:00
JamesNK
1bd20261c2
-Fixed referencing the NuGet package from Windows Phone 7.1 projects
...
-Updated to the latest version of SandCastle Help File Builder
2011-12-10 12:09:52 +00:00
JamesNK
48dd217c84
-Updated build number
...
-Example SerializationBinder test
2011-11-19 09:10:38 +00:00
JamesNK
18960815fd
-Missing file
2011-11-19 07:37:53 +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
c7de25a37a
-Changed time zone conversions to use new TimeZoneInfo instead of TimeZone
2011-11-01 10:45:46 +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
b24bcda921
-Update NuGet package version
2011-10-01 23:32:54 +00:00
JamesNK
ea2897c1b3
-Clean up compiler warnings
2011-10-01 12:11:51 +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
3fcf02a653
-Changed the assembly file names to all be Newtonsoft.Json.dll to fix NuGet referencing
2011-10-01 07:41:11 +00:00
JamesNK
14b8661c92
-Changed JToken.Children to return an empty iterator rather than erroring
2011-10-01 05:37:08 +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
d8b32dfdc4
-Added support for deserializing IDictionary properties
2011-08-03 01:53:49 +00:00
JamesNK
44ab7f71df
-Fixed DataTable and DataColumn names not being modified by CamelCasePropertyNamesContractResolver
2011-08-03 00:50:44 +00:00
JamesNK
18c9400054
-Added support for reading byte arrays from JSON integer arrays
2011-08-02 23:53:15 +00:00
JamesNK
76fc1b3081
-Added Culture to JsonTextReader to use when converting values from JSON text
2011-08-02 03:41:03 +00:00
JamesNK
29b32aa2cb
-Added Order to JsonPropertyAttribute to override the order of serialized JSON
2011-08-02 02:58:22 +00:00
JamesNK
628e7977e8
-Fixed deserializing to IEnumerable<T> properties
2011-08-02 01:15:21 +00:00
JamesNK
a1f59aff82
-Added support for setting readonly fields when marked up with JsonPropertyAttribute
2011-08-01 23:50:20 +00:00
JamesNK
e65e371e1d
-Changed $id and $ref properties to allow null
2011-08-01 05:42:05 +00:00
JamesNK
bc726f1b6d
-Added Populate and IgnoreAndPopulate options to DefaultValueHandling for automatically populating default values during deserialization
2011-08-01 02:05:14 +00:00
JamesNK
ce2b5e02e0
-Added support for missing JSON errors to error handling
2011-07-31 23:10:38 +00:00
JamesNK
2da612396d
-Updated documentation
2011-07-29 07:59:42 +00:00
JamesNK
d664eee995
-Updated documentation
2011-07-28 12:03:50 +00:00
JamesNK
8f01fa44f5
-Added support for BindToName on SerializationBinder
2011-07-28 00:53:50 +00:00
JamesNK
588e90a11f
-Updated documentation
2011-07-27 05:08:39 +00:00
JamesNK
c1cafd078d
-Added serialization constructors to all Exceptions
...
-Added support for serialization event attributes on base classes
-Changed WriteEndObject, WriteEndArray, WriteEndConstructor on JsonWriter to be virtual
2011-07-04 09:16:23 +00:00
JamesNK
b607b40753
-Added support for deserializing to readonly collections and dictionaries on classes with non-default constructors
2011-07-04 07:55:06 +00:00
JamesNK
2e1d0c54ce
-Remove ILMerge exe
2011-06-25 04:12:22 +00:00
JamesNK
ba6ec3202e
-Changed Newtonsoft.Json.Net20.dll to use LinqBridge source code rather than ilmerge to fix error
2011-06-25 04:10:33 +00:00
JamesNK
857d72530c
-Change reading schema references to ignore additional content after the $ref property
2011-06-01 07:12:46 +00:00
JamesNK
3997b601ff
-Added Count to JContainer
...
-Minor fixes and improvements
2011-05-28 01:49:26 +00:00
JamesNK
203f79ae9c
-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:39 +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
cc44f53c1a
-Fixed serializing objects with DataContract and DataMember attributes on base classes
...
-JsonObject and JsonProperty attributes can now be placed on an interface and used when serializing implementing objects
2011-05-21 12:55:42 +00:00
JamesNK
76706c6cd2
-Fixed BsonWriter failing silently when writing values outside of an Object or Array
...
-Fixed serializer attempting to use dynamic code generation in partial trust
2011-05-21 04:05:48 +00:00
JamesNK
6b2238c39c
-Added Serializable attribute to exceptions
...
-Fixed deserializing null values into DataTables
-Fixed error when deserializing readonly IEnumerable<T> array properties
-Fixed not including type name for byte[] values
2011-05-07 02:16:26 +00:00
JamesNK
1197d35cbb
-Herp derp
2011-05-02 11:53:16 +00:00
JamesNK
e04432b7e7
-Fixed converting emtpy XML elements with an array attribute not writing other attributes
2011-05-02 11:25:06 +00:00
JamesNK
045a1ec334
-Improved support for deserializing objects using non-default constructors
...
-JsonConverterAttribute now allowed on constructor parameters
-JsonPropertyAttribute now allowed on constructor parameters
2011-05-02 10:52:01 +00:00
JamesNK
21a2a7e4f7
-Demo
...
-Changed build script to support NuGet profiles
2011-04-22 03:11:42 +00:00
JamesNK
2c190ec438
-Fixed objects created with paramatized constructors to not set properties that aren't in JSON
2011-04-21 23:18:19 +00:00
JamesNK
1e75151dda
-Updated build process to embed the build number as assembly version
2011-04-10 06:39:15 +00:00
JamesNK
b26d5c4850
-Updated NuGet.exe to 1.2
...
-Changed NuGet spec file to include client profiles
2011-04-10 03:22:05 +00:00
JamesNK
48f3242095
-Fixed DefaultValueHandling including a property when the default value is the same value but a different type
2011-04-10 02:53:43 +00:00
JamesNK
1ab8f8b686
-Added add/subtract/multiply/divide to dynamic JValue
2011-04-10 01:25:09 +00:00
JamesNK
b476a8d0fc
-Fixed comments in JSON sometimes causing errors when deserializing
2011-03-26 01:25:10 +00:00
JamesNK
dffe08021d
-Added EnumMemberAttribute support to StringEnumConverter
2011-03-25 23:49:13 +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
6a49425267
-Changed BsonReader/BsonWriter to close the underlying stream by default when closed
...
-Added CloseInput/CloseOutput to JsonReader/JsonWriter to control whether the underlying stream is closed. Default to true
2011-03-22 05:48:52 +00:00
JamesNK
6f0c382ba7
-Fixed error when reusing JsonSerializer with preserve references enabled
2011-03-22 05:15:55 +00:00
JamesNK
9e1c9e96fb
-CamelCasePropertyNamesContractResolver now updates dictionary and dynamic property names
2011-03-21 08:06:12 +00:00
JamesNK
71446e9772
-Added additional ToString overloads to JValue
...
-Fixed poor error message when dynamic type cannot be created during deserialization
-Fixed error when setting a null value on a dynamic type during deserialization
-Fixed JsonTextReader.ReadAsDecimal not attempting to convert string values to decimal
2011-02-24 10:14:08 +00:00
JamesNK
1824aa4b59
-Fixed duplicate type name within an assembly error
2011-02-24 01:46:00 +00:00
JamesNK
05a4395a94
-Fixed deserializing a DataTable property
2011-01-28 07:53:57 +00:00
JamesNK
868d6d3948
-Added Equals, NotEquals, GreaterThan, GreaterThanEquals, LesserThan, LesserThanEquals support to dynamic JValue
...
-Added IComparable to JValue
2011-01-17 07:19:20 +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
JamesNK
5d062cc8f8
-Updated nuspec file
2011-01-08 23:38:41 +00:00
JamesNK
ac6c65f48a
-Updated nuspec file for 4.0
...
-Added Load and Parse helper methods to JToken
-Fixed performance issues when deserializing with partial type names
-Fixed deserializing certain decimal values on classes with non-default constructors
2011-01-08 04:39:33 +00:00
JamesNK
0fb78fdb91
-Updated readme
2011-01-04 01:05:52 +00:00
JamesNK
f048d129a9
-Disable Code Analysis in .NET 3.5 release build
2011-01-04 00:39:26 +00:00
JamesNK
bb9cba4953
-Fix dynamic serializing in Silverlight
2011-01-04 00:04:53 +00:00
JamesNK
af4bfff80e
-Updated readme files
2011-01-03 05:38:42 +00:00