Commit Graph
215 Commits
Author SHA1 Message Date
Redth 831e32809e Added Exception.Throws overload to take multiple possible messages to match
This way tests can pass in multiple possible string matches which the runtime may use as a message depending on the given platform (e.g.: MS-Runtime vs Mono)
2014-09-09 09:39:05 -04:00
James Newton-King 0c865efd96 -Fixed not matching some parameters when deserializing via a cosntructor 2014-09-02 23:29:20 +12:00
James Newton-King 4a375721ac -Added support for constructors with out and ref parameters 2014-08-31 15:33:19 +12:00
James Newton-King 695742563b -Fixed Win8 build
-Fixed serializing ObservableCollection<T> on Win8
2014-08-30 14:34:16 +12:00
James Newton-King dce6228b8f -Fixed error in JTokenWriter when disposing after adding a duplicate property
-Fixed not validating JSON when deserializing with DataTableConverter
2014-08-17 19:42:11 +12:00
James Newton-King 07baae515a -Fixed MetadataHandling.ReadAhead bugs 2014-07-20 12:26:00 +12:00
James Newton-King 3335ae4e20 -Fixed property after empty array JSONPath queries
-Fixed error handling when last value in array or object fails
2014-06-28 00:42:41 +12:00
James Newton-King 56e45bbbab -Test 2014-06-22 19:53:01 +12:00
James Newton-King bbe7eaf852 -Fixed serializing static fields 2014-06-21 19:59:17 +12:00
James Newton-King 9b8e353530 -Tests 2014-06-21 02:16:39 +12:00
James Newton-King 8035243878 -Fixed bug when deserializing JObject with comments 2014-06-21 02:03:47 +12:00
James Newton-King 505fd9633f -Refactored JsonConverter creation 2014-06-20 21:27:00 +12:00
James Newton-King 9203e97312 -Refactored dynamic type wrapping
-Improved KeyValuePairConverter performance
2014-06-20 19:03:36 +12:00
James Newton-King c987b0509a -Fixed JsonConvert.PopulateObject not setting JsonReader settings 2014-06-15 15:04:17 +12:00
James Newton-King d68c9198f2 -Added support for overriding the creation of non-concrete types 2014-05-09 18:13:20 +12:00
James Newton-King cf939ffc29 -More object creation refactoring 2014-05-07 15:24:42 +12:00
James Newton-King 2039a29d91 -Rename SpecialPropertyHandling to MetadataPropertyHandling 2014-04-27 15:05:22 +12:00
James Newton-King 0eacc35491 -Increment version to 6.0.3
-Test
2014-04-27 13:22:21 +12:00
James Newton-King 11c2ad5c1c -Fixed build 2014-04-26 23:06:30 +12:00
James Newton-King aa76b5aecb -Test 2014-04-26 13:12:13 +12:00
James Newton-King 35fc7ed0f4 -Added support for DateFormatString when reading JSON 2014-04-26 13:03:04 +12:00
James Newton-King 9133626388 -Changed blank XML elements to be written as an empty string instead of null
-Added support for XML document type
-Changed string JValue with a null value to be written as null instead of empty string
-Fixed StringEnumConverter thread safety
2014-04-25 22:36:35 +12:00
James Newton-King 9e2581be74 -Improved cast operator deserialize performance 2014-04-10 00:24:21 +12:00
James Newton-King 6965fcfa46 -Fixed potential race condition serializing F# objects
-Fixed schema divisible sometimes incorrectly validating to false
-Fixed not calling virtual ShouldSerialize methods
2014-03-31 15:47:36 +13:00
James Newton-King de5f7dd8a8 -Fixed hiding generic properties sometimes not being detected 2014-03-17 01:18:39 +13:00
James Newton-King 1c018e7a09 -Fixed non-public base class properties being used instead of child class properties 2014-03-16 13:09:34 +13:00
James Newton-King f6c74bdf3c Merge branch 'special-properties' 2014-03-01 18:39:42 +13: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 b62bdd97db -Fixed build 2014-02-23 15:34:26 +13:00
James Newton-King e83bb41094 -Changed null values in JToken extension data dictionary to be JTokenType.Null 2014-02-23 11:15:45 +13:00
James Newton-King 0f77cd1b03 -Added SpecialPropertiesHandling 2014-02-12 01:43:46 +13:00
Avi Romascanu 2368a8e1b1 null check if value is null before trying to convert into jtoken fixes #210 2014-02-09 19:24:52 +02:00
James Newton-King 4793c7b5da -Fixed TypeNameHandling.Auto with some JsonConverters
-Fixed TypeNameHandling.Auto with JsonSerializer.Serialize inside a JsonConverter
-Changed assembly version to 6.0.0.0
-Marked async methods on JsonConverter as obsolete
2014-01-29 00:47:01 +13:00
James Newton-King f878541047 -Incremented version to 6.0.1
-Changed .NET 4 Portable NuGet target to portable-net40+sl5+wp80+win8+monotouch+monoandroid
-Fixed Uri serialization roundtrip by using Uri.OriginalString
-Added Decimal and DateTimeOffset constructors to JValue
-Changed DefaultMemberSearchFlags on DefaultContractResolver to obsolete
2014-01-09 22:01:10 +13:00
James Newton-King 6562d9d31c -Fixed using extension data with a non-default constructor 2013-12-29 19:45:41 +13:00
James Newton-King 40c24307de -Fixed error when wrapping an exception in a JsonConverter 2013-12-23 22:42:38 +13:00
James Newton-King c7fd4d5e29 -WinRT build 2013-12-08 13:37:13 +13:00
James Newton-King b06f137513 -Added support for reading multiple pieces of JSON with a JsonReader 2013-12-07 22:06:37 +13:00
James Newton-King d5f606c435 -Fixed casting dynamic base64 string to byte array
-Fixed formatting override on SerializeObject methods
-Added support for deserializing nested DataTables and arrays in DataTables
2013-12-07 16:44:02 +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 d03963016e -Fixed build warning 2013-10-17 12:47:48 +13:00
James Newton-King 56ee111b71 -Updated Sandcastle 2013-10-17 10:50:02 +13:00
James Newton-King 4aedf67277 -Fixed WinRT build 2013-10-13 20:17:24 +13:00
James Newton-King e28d1bbda9 -Fixed build warning
-Fixed documentation IE7 JS error
2013-10-13 18:57:48 +13:00
James Newton-King f304f7215f -Increment version to 5.0.7
-Added default value and required support to constructor deserialization
2013-10-11 20:43:07 +13:00
James Newton-King 14a2b3aca8 -Tests 2013-10-06 13:02:08 +13:00
James Newton-King 9f9dff9eb9 -Added XML documentation
-Fixed various compiler warnings
2013-10-06 12:48:05 +13:00
James Newton-King 3536c76873 -Added support for serializing extension data
-Added support for reference loop handling and type name handling to extension data
-Bug fixes
2013-10-06 12:32:56 +13:00
James Newton-King 107d15a38d -Fixed not parsing some ISO date timezones
-Fixed float schema validation of integer values
-Changed writing of IConvertible values to convert objects to strings
-Fixed serializing proxy objects with no default constructor
2013-10-04 22:29:32 +13:00