55 Commits
Author SHA1 Message Date
James Newton-King 5803c7722a Update .NET 6 tests (#2678) 2022-05-16 17:13:53 +08:00
James Newton-King 42139ea6cd Add JsonSelectSettings and regex timeout 2021-01-17 18:23:19 +13:00
serpentfabric 95a6eb3ac5 jpath regex timeout support added for a single regex expression, global umbrella for all regex calls, and support for allowing regex calls to get compiled if necessary
require users to set a global cancellation token themselves, to avoid a potential unmanaged memory leak, which cleans up the code a bunch and fixes the failing tests

fix tests so cached regex's don't cause one test to fail using prior tests timeout...

handle the global timeout of multitoken regex internally and test for it
2021-01-17 18:23:19 +13:00
James Newton-King e82421145b Add test with escaped JSON Path (#2138) 2019-08-19 13:35:19 +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 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 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 977884d779 -Test 2017-11-29 17:02:25 +13:00
James Newton-King ab3315f1d5 -Added netstandard2.0 2017-10-01 23:11:30 +13: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 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 aa5f28c097 -Added Portable40 back 2017-04-02 10:24:09 +12:00
James Newton-King ba514c4610 -Cleaned up preprocessor symbols 2017-03-05 15:12:52 +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 ae074a3469 -Fixed incorrectly parsing scan filter when name is quoted
-Added support for multiple names in scan filter
2016-10-28 13:25:52 +13:00
Pyit Phyo Aung f50f276b76 Clean up NETFX_CORE directive usage 2016-10-11 14:14:13 +13:00
James Newton-King 68d160f3c6 -Added netstandard1.1 with BigInteger support 2016-09-10 23:54:44 +12:00
James Newton-King ac2d619474 -Added support for root object in JSONPath filters 2016-09-10 16:54:29 +12:00
James Newton-King 029e36e7e4 -Additional JSONPath NotEquals fix 2016-03-23 21:22:17 +13:00
James Newton-King 031222d4f4 -Fixed JSON Path not equal null with non-primative values 2016-03-21 21:00:44 +13:00
James Newton-King 14c0428df7 -Fixed JSONPath queries combining wildcard with property search 2016-02-06 11:19:17 +13:00
James Newton-King eb0cbd6a75 -Formatting
-Build
2015-12-04 23:54:38 +13: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 0552affb83 -Renamed aspnetcore50 to dnxcore50
-Documentation
2015-04-04 16:13:37 +13: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
James Newton-King dfb2ac17a5 -Refactor ExceptionAssert 2014-09-12 21:33:53 +12:00
James Newton-King 3335ae4e20 -Fixed property after empty array JSONPath queries
-Fixed error handling when last value in array or object fails
2014-06-28 00:42:41 +12:00
James Newton-King 11c2ad5c1c -Fixed build 2014-04-26 23:06:30 +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 1c018e7a09 -Fixed non-public base class properties being used instead of child class properties 2014-03-16 13:09:34 +13:00
Simon Génier 28062b9cbb Fix a bug where certain JSON path expressions would spuriously fail. 2014-03-11 16:10:21 -04: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 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
James Newton-King d529190b46 -Fixed error on no result for JSON Path queries
-Fixed not disposing JsonReader/JsonWriter in some places
2013-12-22 13:52:56 +13:00
James Newton-King 49a4a94d74 -Fix builds
-Added support for multiple fields in a query indexer
-Renamed DisallowIntegerValues to AllowIntegerValues
2013-12-15 14:17:50 +13:00
James Newton-King 7ab381f2e8 -Fixed builds 2013-12-08 14:38:03 +13:00
James Newton-King c7fd4d5e29 -WinRT build 2013-12-08 13:37:13 +13:00