Commit Graph
60 Commits
Author SHA1 Message Date
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 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 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 0552affb83 -Renamed aspnetcore50 to dnxcore50
-Documentation
2015-04-04 16:13:37 +13: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 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
yeroo d68f370d16 Bug: unexpected token: Comment test case updated 2014-11-22 12:14:48 -06: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
James Newton-King 99df43eb4d -Tests line endings 2014-09-12 23:34:20 +12:00
James Newton-King dfb2ac17a5 -Refactor ExceptionAssert 2014-09-12 21:33:53 +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 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
James Newton-King 0238b51162 -Fixed HTTP requests when resolving DTD urls in XmlNodeConverter
-Added support for reading BSON UUID bytes as Guid
2014-06-14 18:46:35 +12:00
James Newton-King 2039a29d91 -Rename SpecialPropertyHandling to MetadataPropertyHandling 2014-04-27 15:05:22 +12:00
James Newton-King 6cc34d026c -Fixed build 2014-04-25 23:45:53 +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 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 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 b62bdd97db -Fixed build 2014-02-23 15:34:26 +13:00
James Newton-King 36deaa4b10 -Fixed build 2014-02-23 14:58:13 +13:00
James Newton-King e4ae07003b -Fixed error with whitespace only JSONPath
-Fixed property query path that starts with $
-Fixed array query path with open brace after $
2014-02-23 14:35:28 +13:00
Ygal 3d9c921d9d fix bad using in last commit 2014-02-20 22:38:56 +02:00
Ygal b81b984448 Fix Bug when Convert Xml and Xml dont have namespace and one of children have namespace 2014-02-20 22:36:35 +02: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 032bf82e0a -Readded .NET 4, SL4, WP7, Win8 portable library
-Disable SL library build
2013-04-06 11:38:01 +13:00
James Newton-King 787bde6e15 -Tests
-XML documentation
-Removed generic serialize methods
2013-03-24 14:49:54 +13:00
James Newton-King e857e48564 -Changed serialization callbacks on JsonContract to delegates
-Added Obsolete attributes to old serialization methods on JsonContract
-Added VS and ReSharper settings files
-Fixed converting null JSON value to XML
-Fixed tests
2013-03-17 14:25:01 +13:00
James Newton-King 92de187a74 -Changed portable assembly to .NET 4.5, Silverlight 5, Win8, WP8
-Fixed incorrect namespace when converting XML to JSON
2013-03-06 23:04:26 +13:00
James Newton-King 1b972cd65f -Fixed DefaultValueHandling.Ignore with decimal properties
-Fixed approximate floating point comparisons
2012-06-09 13:54:30 +12:00
James Newton-King 55854f1682 -Fixed time zone unit test failure
-Removed Metro IDictionary copy
-Fixed Metro build
2012-06-08 05:21:58 -07:00
James Newton-King 2dfd0bc940 -Added ItemIsReference, ItemReferenceLoopHandling, ItemTypeNameHandling, ItemConverterType to JsonPropertyAttribute 2012-05-05 20:30:02 +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 10256fcf68 -Added Portable Class Library build 2012-04-18 21:02:34 +12:00
James Newton-King a139d7bf20 -Fixed XmlNodeConverter not turning all attribute properties into attributes
-Added .gitattributes file
2012-03-31 15:39:53 +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
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 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 e04432b7e7 -Fixed converting emtpy XML elements with an array attribute not writing other attributes 2011-05-02 11:25:06 +00:00
JamesNK 87a2bbf831 -Added WriteArrayAttribute to XmlNodeConverter to include an attribute to help round tripping JSON and XML
-Added OmitRootObject to XmlNodeConverter to skip writing the root JSON object when converting XML
2010-12-27 04:00:43 +00:00
JamesNK 15ea91fb63 -Fixed error when deserializing nullable structs
-Fixed writing JSON Schema option label
-Improved error message when converting JSON with an empty property to XML
2010-10-22 23:23:49 +00:00
JamesNK 6d67aefac7 -Added ReflectionDelegateFactory, DynamicReflectionDelegateFactory and LateBoundDelegateFactory to support switching between dynamic and late bound reflection for medium trust environments
-Added WriteObjectId to BsonWriter
-Added BsonObjectId and BsonObjectIdConverter classes
-Added KeyValuePairConverter
-Added DynamicCodeGeneration flag to DefaultContractResolver
-Changed JsonConverter.ReadJson to add an extra parameter: currentValue
2010-03-17 06:53:47 +00:00
JamesNK 98f3757498 -When converting JSON to XML using XmlNodeConverter, changed special JSON properties ($id, $ref, $type) to be attributes rather than child elements 2010-02-21 03:32:32 +00:00