Commit Graph
307 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 6cf71b805e -Fixed tests 2014-09-03 22:27:42 +12: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 dd07fdff93 -Fixed WinRT build 2014-08-03 19:06:51 +12:00
James Newton-King 3327a6954c -Merge demo 2014-08-03 18:56:41 +12:00
James Newton-King 8e727a27b2 -JProperty performance
-Improved property name escape skipping
2014-08-03 00:08:31 +12:00
James Newton-King e32b4671c8 -Added MetadataPropertyHandling.Ignore 2014-07-20 18:29:31 +12:00
James Newton-King 07baae515a -Fixed MetadataHandling.ReadAhead bugs 2014-07-20 12:26:00 +12:00
James Newton-King 51212d92b1 -Fixed directly serializing XmlElements 2014-07-04 17:28:36 +12:00
James Newton-King 30445090f2 -DI tests 2014-07-04 11:28:23 +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 f78b076602 -Refactored property default value creation 2014-06-20 22:31:40 +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 af102d637f -Fixed populating ignored properties with DefaultValueHandling.IgnoreAndPopulate 2014-06-14 20:35:57 +12:00
James Newton-King 017a38c65b -Fixed deserializing non-generic IReadOnlyCollection<T> implementations 2014-05-12 13:40:48 +12:00
James Newton-King 08c87d3ef4 -Derp 2014-05-09 18:29:40 +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 3e4eb24047 -Fixed tests 2014-05-06 14:11:31 +12:00
James Newton-King c299fee560 -Refactor parameterized collection creation to use delegates 2014-05-02 17:49:13 +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 b40d705644 -Fixed type name handling when a property already has a base type assigned 2014-04-26 15:16:47 +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 081daae006 -Fixed using FloatParseHandling.Decimal with XmlNodeConverter
-Fixed using DateParseHandling.DateTimeOffset with XmlNodeConverter
2014-04-25 23:38:52 +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 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 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 de991c8f96 -Fixed build warnings 2014-01-09 23:42:55 +13:00