Dmitry Kalyanov
f3706313ef
Compare BaseDefinition for properties when adding private properties.
...
Due to difference in mono vs .net (see https://bugzilla.xamarin.com/show_bug.cgi?id=36305 ),
MethodInfo.GetBaseDefinition() does not actually return base class (it returns partially-instantiated
generic class) in mono when overriding property from generic base class. Because of this, lookup
of matching property in ReflectionUtils.GetChildPrivateProperties() fails to find
already added property and adds the same property multiple times. Comparing GetBaseDefinition()'s
compensates for this: since the same function is applied to both PropertyInfo's, matching property
will be found.
This fixes issue #726 .
2015-11-27 15:58:15 +03:00
James Newton-King
425c1d8402
-Fixed converting null string JValues to XML
2015-11-25 01:18:59 +13:00
James Newton-King
2c3dafd62d
-Fixed bug when converting an integer JValue to a nullable enum
2015-11-23 22:02:47 +13:00
James Newton-King
a9c7d60d22
-Improved JArray bad indexer message
2015-11-23 20:31:28 +13:00
James Newton-King
331fcc0ebb
-Added support for 24 hour ISO dates
2015-11-23 20:15:37 +13:00
James Newton-King
7903b4b2e2
-Added JsonLoadSettings.LineInfoHandling
2015-11-21 19:31:17 +13:00
James Newton-King
000407f610
-Added Required.DisallowNull
2015-11-15 21:25:47 +13:00
James Newton-King
a3eb2d596c
-Fixed DateTimeZoneHandling not being used when writing DateTime dictionary keys
...
-Buffer pooling fixes
-Improved date parsing performance
2015-11-14 15:22:59 +13:00
James Newton-King
8e1a59b8e6
-Fixed error when ReferenceResolver is set to null
2015-11-12 23:53:10 +13:00
James Newton-King
ac1a46bd14
-Added IJsonBufferPool, performance stuff
2015-11-12 22:08:39 +13:00
James Newton-King
d91e8f4425
-Fixed NZ culture tests on Windows 10
2015-11-02 10:12:19 -08:00
James Newton-King
ab2906874f
-Changed DateTimeOffset JValue to return TypeCode.Object
...
-Incremented version to 8.0.1-beta1
2015-10-18 13:42:31 +13:00
James Newton-King
18e45e2b75
-Build
2015-10-17 18:26:11 +13:00
James Newton-King
a48ccc781c
-Build
2015-10-16 21:42:59 +13:00
James Newton-King
723704464f
-ShouldDeserialize PR cleanup
2015-10-12 21:40:00 +13:00
James Newton-King
57f4f98162
-Added support for deserializing Version from string
2015-10-10 23:20:20 +13:00
James Newton-King
2bf31b9605
-Added JsonLoadSettings
...
-Added CommentsHandling
-Changed LINQ to JSON load to ignore array comments by default
2015-10-06 22:17:25 +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
a2f9acf917
-Fixed potential error when writing escaped unicode character
2015-10-03 14:28:13 +13:00
James Newton-King
ad68ea8780
-Added JsonConstructorAttribute support for lists and dictionaries
2015-10-03 14:10:39 +13:00
James Newton-King
352c9e0e9f
Merge branch 'master' of github.com:JamesNK/Newtonsoft.Json
2015-10-02 21:50:26 +13:00
James Newton-King
6d91522d6b
-Documentation
2015-10-02 21:49:58 +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
b30e1a178b
-Fixed JsonConvert.PopulateObject error with starting comment
2015-09-30 15:38:33 +13:00
James Newton-King
d86d2fa23d
-Added project specific project.json files
2015-09-22 11:38:13 +12:00
James Newton-King
ddfd52f79c
-Fixed 32 bit integer number parsing bug
2015-09-11 17:48:41 +12:00
James Newton-King
38fe3c38f6
-Build
2015-09-05 15:38:09 +12:00
James Newton-King
35450475ff
-Build
2015-09-05 15:24:57 +12:00
James Newton-King
4baf2a751f
-Fixed writing Uri JValues to use OriginalString to be consistant with serializer
...
-Fixed comparing non-string JValues with JPath queries
2015-09-05 15:24:30 +12:00
James Newton-King
30265076bb
-Fixed writing raw values twice with a trace writer
2015-09-03 23:13:36 +12:00
James Newton-King
79c2a47057
Merge branch 'master' of github.com:JamesNK/Newtonsoft.Json
2015-09-03 11:00:08 +12:00
James Newton-King
8300fdfad2
-Test
2015-09-03 10:59:58 +12:00
James Newton-King
05710874cd
-Build
2015-08-31 17:43:56 +12:00
James Newton-King
c28feca66b
-Build
2015-08-31 17:31:07 +12:00
James Newton-King
85e7968ed9
-Fixed documentation typo
...
-Fixed error when serializing some interfaces with hidden properties
-Fixed some large integers being incorrectly read from JSON
2015-08-30 22:24:57 +12:00
James Newton-King
17d9a53818
-Fixed tests
2015-08-24 12:59:04 +12:00
James Newton-King
f486f9acdb
-Build
2015-08-23 12:39:19 +12:00
James Newton-King
85dccf614a
-Build
2015-08-23 11:04:47 +12:00
James Newton-King
a9ea63da59
-Added additional frameworks to project.json files
2015-08-22 19:08:40 +12:00
James Newton-King
6b02abe20c
-Fixed JTokenWriter error with duplicate properties
2015-08-16 22:48:45 +12:00
James Newton-King
f73b9fc1e2
-Changed project.json to use non-beta dependencies
2015-08-12 21:09:27 +12:00
James Newton-King
b7cfafb8ed
DNX build and tests
2015-08-12 01:44:20 +12: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
d26d54bd50
-Fixed serializing non-zero based multidimensional array
2015-07-24 15:43:08 +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
20cc266712
-Fixed reference
2015-06-22 10:48:49 +00:00
James Newton-King
67c20905ee
-Build
2015-06-21 09:16:51 +00:00
James Newton-King
cd605e9d3e
-Remove beta3 from NuGet version
2015-06-21 01:12:11 +00:00
James Newton-King
a0c33b4d6c
-Updated System.Collections.Immutable to latest version
2015-06-21 00:43:28 +00:00
James Newton-King
6173ca1574
-Fixed invalid Required.Always error with constructor property name casing
...
-Fixed empty string coerce check with Required.Always and constructor
2015-06-14 15:55:24 +12:00