Commit Graph
1577 Commits
Author SHA1 Message Date
James Newton-King 393c456d5e Merge branch 'patch-1' of https://github.com/Romasz/Newtonsoft.Json into Romasz-patch-1 2017-10-15 11:31:48 +13:00
James Newton-King 64f6fd7b39 -Fixed TraceJsonWriter.WriteValue(object) writing value twice 2017-10-14 14:21:39 +13:00
James Newton-King 8dd5eff2ee -Minor refactor 2017-10-14 12:18:10 +13:00
James Newton-King 5829826cbb -Minor refactor 2017-10-14 11:14:39 +13:00
Tomasz Romaszkiewicz 6330ea5d14 Added Unit test and allowed GC large objects. 2017-10-07 14:01:04 +02:00
Tomasz Romaszkiewicz 17f055e944 Update JsonTextReader.cs
We are doubling the _chars.Length when calculation newArrayLength, thus it's worth to check if we are not out of int.MaxValue.
This fix allows to work on bigger files.
2017-10-06 19:47:30 +02:00
James Newton-King 6057d9b831 -Fixed deserializing with a TraceWriter when the reader is not at the start 2017-10-06 19:11:34 +13:00
James Newton-King 92d170a078 -Fixed converting default datetime in JSON to XML on netstandard1.3 2017-10-02 21:48:22 +13:00
zivillian 8f65999684 remove redundant check for IsNullableType (#1450) 2017-10-02 16:00:21 +13:00
James Newton-King ab3315f1d5 -Added netstandard2.0 2017-10-01 23:11:30 +13:00
James Newton-King 5cdad2e275 -Build 2017-09-24 14:11:58 +13:00
Andrew Arnott 5b904ccb0f Add AppVeyor.yml file (#1417)
* Add AppVeyor.yml file

* Fix casing of Src folder

* Build with official "runbuild.cmd" script

* Add switch for msbuild verbosity

and default it to minimal

* Collect the right nupkg artifact
2017-09-24 13:35:41 +13:00
James Newton-King 5e9f69f59f -Improved JToken.Path performance with faster reverse 2017-09-10 18:01:25 +12:00
James Newton-King 3bad61fac8 -Build 2017-09-10 11:25:21 +12:00
James Newton-King 68f26ce3f0 -Build 2017-09-09 23:57:16 +12:00
James Newton-King 3a3e360da7 -Build 2017-09-09 23:36:56 +12:00
James Newton-King ffe53eb3bf -NuGet packages updated 2017-09-09 22:57:18 +12:00
James Newton-King a05864d40d -Build 2017-09-09 22:26:22 +12:00
Andrew Arnott 42ccb6b1c0 Fix typo in build.ps1 and use nuget.config (#1420)
* Fix typo in build.ps1

* Use nuget.config package sources in build.ps1

Installing a package within build.ps1 ignored the Src\nuget.config file, leading to failures depending on the machine configuration.
With this change, the script will successfully install the package it needs independent of machine configuration.

* Reuse existing variable to simplify script
2017-09-04 16:48:00 +12:00
Andrew Arnott e47282dad6 Avoid packing test projects (#1416) 2017-09-03 15:44:53 +12:00
James Newton-King fe2ec84c18 -Async cleanup 2017-09-03 10:43:14 +12:00
James Newton-King 87d9010a20 Merge branch 'less-async' of https://github.com/benaadams/Newtonsoft.Json into benaadams-less-async 2017-09-03 09:16:30 +12:00
James Newton-King f1d721d869 -Asserted variable in WriteEscapedJavaScriptString is not null 2017-09-02 17:38:25 +12:00
James Newton-King 252704d416 -Removed unused INullable conversion code 2017-09-02 17:25:18 +12:00
Ben Adams 621c493b42 Faster path for Netcoreapp2.0 2017-08-28 16:43:04 +01:00
Ben Adams 56262bc917 Lazy async statemachine in WriteToAsync 2017-08-28 05:29:15 +01:00
James Newton-King 98366a4b88 -Added INotifyPropertyChanging to netstandard1.3 build 2017-08-20 16:56:30 +12:00
James Newton-King bbf735583f -Test 2017-08-20 16:45:01 +12:00
James Newton-King 325768f141 -Build 2017-08-19 08:21:51 +10:00
James Newton-King 5c2695e839 -Changed tests to run in .NET Core 2.0 2017-08-18 15:47:18 +10:00
James Newton-King c0f7661ccb -HTTPs project and icon URLs 2017-08-17 15:02:21 +10:00
James Newton-King 95dc672f1e -Derp 2017-08-17 11:06:09 +10:00
James Newton-King 376b981769 -Documentation 2017-08-17 07:29:01 +10:00
James Newton-King 0d924f80ff -Sealed non-generic methods on JsonConverter<T> 2017-08-13 18:07:00 +12:00
James Newton-King 0a6792e4ca -Tests 2017-08-13 14:03:25 +12:00
James Newton-King 81b0e443ff -Tests 2017-08-13 10:44:07 +12:00
James Newton-King 946b43fab8 -Built-in converters inherit from JsonConverter
-Fixed writing null values by XmlNodeConverter and RegexConverter
-Tests
-Documentation
2017-08-12 20:17:28 +12:00
James Newton-King 0996a59f8c -Generic JsonConverter WIP + initial tests 2017-08-11 18:15:20 +12:00
James Newton-King 36cfb508b8 -Merge 2017-08-11 11:16:05 +12:00
James Newton-King 72b98ae7b2 -Fixed serializing immutable collections when .NET 4.0 or previous Newtonsoft.Json assembly is GACed 2017-08-10 19:15:06 +12:00
James Newton-King 725e808db9 -Test 2017-08-03 13:21:42 +12:00
James Newton-King 6660601cdc -Tests 2017-07-29 17:48:43 +12:00
James Newton-King 4f0c963c4f -Derp 2017-07-23 18:09:34 +12:00
James Newton-King ebff7199e4 -Refactor tests 2017-07-23 17:58:21 +12:00
James Newton-King 36bcc55ee6 -Refactor tests 2017-07-23 17:01:48 +12:00
James Newton-King 403470d59a -Fixed not erroring when reading undefined for nullable long 2017-07-23 13:50:49 +12:00
James Newton-King ad1a13728a -Fixed JValue.CompareTo with number and string values 2017-07-22 13:41:14 +12:00
James Newton-King bbbddf0031 -Changed MemberConverter to be obsolete 2017-07-16 19:55:43 +12:00
James Newton-King c33b257f18 -Tests 2017-07-16 10:29:34 +12:00
Nathan Mascitelli 5229208ce5 Fix test framework restrictions 2017-07-14 08:18:33 -04:00