Commit Graph
156 Commits
Author SHA1 Message Date
James Newton-King 0311bc0f24 -Added constructor to StringEnumConverter for setting camelcase from attribute 2016-02-06 16:27:33 +13:00
Taylor Wood 38ebf96655 Fix DU converter exception typo. 2016-01-28 22:02:39 -06:00
Jon Hanna a06716c6a6 Refactor some cases of repeated code into separate methods.
Make the MoveToContent() and ReadToContent() produced from this public.
2015-12-20 00:28:40 +00:00
James Newton-King a5d1a41e14 -Removed generic SerializeObject methods 2015-12-12 18:14:57 +13:00
James Newton-King 2c7a51c50a -Added generic JsonConvert.SerializeObject methods
-Fixed JToken.ToObject not using StringEnumConverter on enums
2015-12-09 08:45:36 +13:00
James Newton-King 45936d58a2 -Fixed converting JSON to XML with invalid XML name characters 2015-12-06 22:10:58 +13:00
James Newton-King 709dd8cea6 -Merge 2015-12-06 21:08:04 +13:00
Oleg Deribas 7ce78833f4 When converting JSON to XML encode characters in JSON property names which are not compatible with XML and decode when converting back. 2015-12-05 20:09:03 +00:00
James Newton-King eb0cbd6a75 -Formatting
-Build
2015-12-04 23:54:38 +13:00
James Newton-King b2827d3ddb -Tests 2015-11-28 19:46:00 +13:00
James Newton-King 425c1d8402 -Fixed converting null string JValues to XML 2015-11-25 01:18:59 +13:00
James Newton-King d91e8f4425 -Fixed NZ culture tests on Windows 10 2015-11-02 10:12:19 -08:00
James Newton-King 172c1d8f30 -Fixed inconsistent JsonTextReader.LinePosition
-Fixed JsonReader.Path with escaped property names
2015-10-03 17:11:45 +13:00
James Newton-King eccdf4bf95 -Fixed converting JSON to XML
-Fixed not including line data with many XmlNodeConverter exceptions
2015-09-30 17:35:53 +13:00
James Newton-King fe7b7a6c7b -Added dotnet build
-Removed WinRT files
-Updated solution files to VS2015
-Updated psake
2015-08-02 23:56:26 +12:00
James Newton-King 3613a89a56 -Fixed error when deserializing null DataSet or DataTable properties 2015-06-30 15:04:43 +12:00
James Newton-King 67c20905ee -Build 2015-06-21 09:16:51 +00:00
James Newton-King 08296c5eca -Documentation 2015-06-10 01:16:12 +12:00
James Newton-King e8f4589e53 -Increment prerelease to beta3
-Remove internals from ResolvePropertyName
2015-05-03 19:46:59 +12:00
James Newton-King 0f584a6d52 -Added JsonRequiredProperty
-Added JsonSerializerSettings.ReferenceResolverProvider property
-Marked JsonSerializerSettings.ReferenceResolver as obsolete
2015-05-02 19:40:44 +12:00
James Newton-King 0552affb83 -Renamed aspnetcore50 to dnxcore50
-Documentation
2015-04-04 16:13:37 +13:00
James Newton-King f809e30a51 -Tests 2015-04-01 21:44:41 +13:00
James Newton-King bc7350d12c -PR fixes 2015-03-29 21:22:42 +13:00
pischke 00bbd96718 DataTableConverter is using Serializer for cell data. 2015-03-26 23:17:27 +01:00
James Newton-King f09cfcded0 -Build 2015-03-22 13:34:52 +13:00
James Newton-King 345c6f3512 -Tests 2015-03-22 13:00:41 +13:00
James Newton-King b9af7f227b -Replace tests console writes with asserts 2015-03-22 12:37:12 +13:00
James Newton-King a3278ccd6a -Fixed serializing discriminated unions with type name or reference tracking enabled
-Fixed build
2015-03-21 20:35:57 +13:00
James Newton-King cdac4d8d38 -Fixed error when deserializing large JSON integers to XML
-Fixed serializing extension data properties with no setter
2015-03-15 18:45:29 +13:00
James Newton-King 0effb85a31 -Fix converting unmatched namespace prefixes in JSON to XML 2015-03-08 11:11:16 +13:00
James Newton-King 95e04ba96e -DiscriminatedUnionConverter performance improvements 2015-03-08 10:15:34 +13:00
James Newton-King a09f240f51 -Fixed CI 2014-12-22 17:16:10 +13:00
James Newton-King e9dc993fc3 -Explicit culture for tests
-Tests
2014-12-22 00:11:57 +13:00
James Newton-King 1c09507d9f -Fixed WinRT 2014-11-30 23:00:15 +13:00
James Newton-King cfa51f5f58 Merge pull request #429 from yeroo/master
Bug: Unexpected token: Comment
2014-11-24 22:03:11 +13:00
James Newton-King 04e9048d10 -Refactor 2014-11-24 22:01:53 +13:00
yeroo d68f370d16 Bug: unexpected token: Comment test case updated 2014-11-22 12:14:48 -06:00
James Newton-King d316425746 -Fixed settings not being used when deserializing F# unions 2014-11-05 16:25:57 -08:00
James Newton-King 88a29704da -Fixed jsonpath error when parsing a property that follows an escaped property
-Changed reader/writer/token path to escape property names containing special characters
2014-10-18 15:36:42 +13:00
James Newton-King 88eeb8ba92 -Fixed MetadataTypeAttribute reflection bug by using CustomAttributeData
-Fixed immutable collections bug by getting type from known assembly
-Added support from running tests on aspnetcore50
2014-10-18 00:00:26 +13:00
Tamizhvendan S 8eea549b0a Removing the redundant requirement of having "fields property with empty array" for union types with no values.
Note : Values are optionals in the Discriminated Union
Reference : http://msdn.microsoft.com/en-us/library/vstudio/dd233226(v=vs.100).aspx
2014-09-19 22:31:29 +05:30
James Newton-King 99df43eb4d -Tests line endings 2014-09-12 23:34:20 +12:00
James Newton-King a09c2110e8 -Fixed WinRT build 2014-09-12 21:43:17 +12:00
James Newton-King dfb2ac17a5 -Refactor ExceptionAssert 2014-09-12 21:33:53 +12:00
James Newton-King eb1c683de3 -Updated version to 6.0.5 2014-09-06 15:14:34 +12:00
James Newton-King ffd9cf9209 -Fixed deserializing F# unions with out of order properties
-Tests
2014-09-05 20:36:45 +12:00
James Newton-King 57ccaf00bf -Improved Portable40 assembly performance by using compiled expression reflection
-Fixed converting string JValues to enums with JToken.ToObject
2014-08-24 23:33:08 +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 5fc738247f -Added Merge to LINQ to JSON 2014-08-01 21:27:38 +12:00
James Newton-King 51212d92b1 -Fixed directly serializing XmlElements 2014-07-04 17:28:36 +12:00