Commit Graph
294 Commits
Author SHA1 Message Date
James Newton-King 2ec997d3a7 Fix JToken nullable support 2019-08-22 14:09:18 +12:00
James Newton-King e82421145b Add test with escaped JSON Path (#2138) 2019-08-19 13:35:19 +12:00
James Newton-King 5eac02a797 Run unit tests on .NET Core 3.0 and fix Enumerable.Empty (#2137) 2019-08-19 12:57:09 +12:00
James Newton-King 84b5c15eab Clean up merge changes 2019-08-18 18:07:53 +12:00
iRumba da0f0d8dd1 Fixed merging with self bug. 2019-08-18 18:07:53 +12:00
James Newton-King cdf10151d5 Update Newtonsoft.Json project to use nullable reference types (#1950) 2019-07-29 09:13:42 +12:00
James Newton-King 34ff1a6728 Add test for DuplicatePropertyNameHandling.Replace (#2026) 2019-03-30 17:41:29 +13:00
James Newton-King 88dae52165 Clean up DuplicatePropertyNameHandling feature 2018-11-24 21:25:20 +13:00
James Newton-King faaa23eb9e Clean up test warnings (#1882) 2018-10-15 13:41:57 +13:00
James Newton-King 3d2e9c13ad Not equals test 2018-10-07 16:22:13 +13:00
James Newton-King 416a96bf4e Simplify strict equals 2018-10-07 16:22:13 +13:00
WillSullivan 3a9dfebc2d Strict operator support added 2018-10-07 16:22:13 +13:00
James Newton-King 306e695f69 Add test for quote in path (#1848) 2018-09-22 08:03:41 -07:00
James Newton-King 9fe2448320 Add JObject.Property overload with a StringComparison and JsonMergeSettings.PropertyNameComparison (#1843) 2018-09-20 00:21:16 -07:00
Joseph Musser 4257e63394 ‘Annoucing’ → ‘Announcing’ (#1718) 2018-05-24 21:27:00 +12:00
James Newton-King c72f785b9c -Changed DataContractAttribute on collections back to array serialization
-Fixed JObject.GetPropertyOwner to return value
-Fixed JPropertyDescriptor GetValue and SetValue to return null for null owner
2018-03-12 15:43:28 +13:00
James Newton-King 6d3b5077e2 -Refactor regex in JSON Path 2018-02-11 14:42:13 +13:00
James Newton-King 7f3292f6cb Merge branch 'feature/json-path-filter-using-regex' of https://github.com/andre-n/Newtonsoft.Json into andre-n-feature/json-path-filter-using-regex 2018-02-11 12:28:05 +13:00
andre-n 1876b1bfdf feature: implement regex match operator for JsonPath queries. Syntax is compatibe with Jayway implementation 2018-02-10 16:04:35 +01:00
James Newton-King c90e6e871a -Changed enum serialization in dictionary keys to use EnumMemberAttribute 2018-01-31 15:14:03 +13:00
James Newton-King 6360cc4c4b -Fixed escaping special characters in generated JSONPaths
-Fixed reading escaped special characters in JSONPaths
2018-01-27 18:39:44 +13:00
James Newton-King d0d01f2a36 -Fixed merging null string values 2017-12-04 18:53:50 +13:00
James Newton-King 977884d779 -Test 2017-11-29 17:02:25 +13:00
James Newton-King 2c9d9b9598 -Updated NuGet packages
-Fixed xunit warnings
2017-11-26 13:00:07 +13:00
James Newton-King a138852994 -Changed JObject.ContainsKey to public 2017-11-26 10:13:13 +13:00
James Newton-King ab3315f1d5 -Added netstandard2.0 2017-10-01 23:11:30 +13:00
James Newton-King 98366a4b88 -Added INotifyPropertyChanging to netstandard1.3 build 2017-08-20 16:56:30 +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
Minh Nguyen 865b2076c2 feature: implement new regex equals operator for JsonPath Query expression. Example: Blah[?( @.name =~'/hi/i' )] 2017-07-20 18:03:55 +10: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
Nathan Mascitelli df82bdce1a Add HAVE_ICONVERTIBLE to NETSTANDARD1_3
Also added unit test.
2017-07-13 17:47:27 -04:00
yadoer b62c0286c4 Update Compare method@JValue.cs (#1310)
For JTokenType.Float, we should add the comparison for decimal type.
2017-05-28 15:18:29 +12:00
James Newton-King 1535268ab8 -Fixed JToken.Load not reading past comment when CommentHandling is Ignore
-Fix JsonReader.ReadAsDecimal with JValue and BigInteger value
2017-05-13 19:14:16 +12:00
James Newton-King 515fee0b52 -Test 2017-05-09 21:36:30 +12:00
Adrien Siffermann 35f7f505e2 Fix RootFilter to proper return an IEnumerable containing the root JToken rather than the root JToken itself as an IEnumerable 2017-05-02 23:54:56 +02:00
James Newton-King b3d514b617 -Fixed JSONPath recursive descent queries 2017-04-26 11:09:15 +12:00
James Newton-King d56b2fa55b -Tests 2017-04-08 16:22:13 +12:00
James Newton-King aa5f28c097 -Added Portable40 back 2017-04-02 10:24:09 +12:00
James Newton-King 39c03ea0e9 -Test 2017-03-23 21:08:15 +13:00
James Newton-King 68533cdc19 -Additional JToken line info settings fixes 2017-03-23 21:04:04 +13:00
James Newton-King ba514c4610 -Cleaned up preprocessor symbols 2017-03-05 15:12:52 +13:00
James Newton-King febdb8188b -Changed netstandard1.1 to netstandard1.3
-Added support for ISerializable interface to netstandard1.3+
-Added support for SerializableAttribute and NonSerializedAttribute to netstandard1.3+
2017-03-05 14:29:24 +13:00
Jon Hanna 8956d3ca9c Fix issues that are variants of those #1182 (#1184)
* Catch excessive objects in json being parsed, even if following a comment.

* Include line info on excessive content for deserialisation.
2017-01-19 10:33:30 +13:00
Jon Hanna c9b2ec8055 Async JToken methods 2017-01-09 23:44:08 +13:00
stakx 8639ac94ae Typos
Running a spell checker on the whole solution revealed a couple more
typos. This fixes all of those (although internal // line comments are
mostly left alone).

Additionally, convert a very few string.Format occurrences to the pre-
dominant .FormatWith pattern and fix some incorrect message strings.
2017-01-04 03:01:26 +01:00
James Newton-King 5d7300f5b4 -Fixed tests 2016-12-26 15:00:40 +13:00
James Newton-King 4099870390 -Added support for any combination of paths and values in JSONPath filter expressions 2016-12-26 14:43:07 +13:00
James Newton-King 3c1fdf9fdd -Derp 2016-12-08 09:50:07 +13:00