kallestenflo
2d4cc06cd2
Upgrade to gradle 8.5 and add java 21 build ( #995 )
10 months ago
kallestenflo
af031cdbb2
Upgrade to junit-jupiter ( #993 )
10 months ago
kalle
af4dfcc17a
Make PropertyPathToken public, closes #955
10 months ago
Tobi
71a09c1193
Check for the existence of the next significant bracket ( #985 )
10 months ago
Samael
2d57ab3615
JPMS: define Automatic-Module-Name as json.path ( #966 )
...
* define Automatic-Module-Name
* cannot build with Java 21 until Gradle is updated
11 months ago
Oswaldo Baptista Vicente Junior
08830e92f4
Upgrade org.json:json from 20140107 to 20230227 ( #907 )
...
* Upgrade org.json:json from 20140107 to 20230227
* Remove unused import
2 years ago
Kalle Stenflo
1e6647bbce
Fix dependency issues in gradle build files
2 years ago
zhangsn
9729cb048b
Defines the pattern for taking item from collection of JSONArray by index ( #842 )
2 years ago
Morgan Patch
3f4900d6e7
Allow a list to be compared to a regex in a filter. ( #685 )
...
Co-authored-by: Morgan Patch <morganpatch@pingidentity.com>
3 years ago
Rishabh
2e6b43e688
Not creating an intermediate list for iterable ( #791 )
...
* Not creating an intermediate list for iterable
* Inlined new iterable class
* Inlined new iterable class
* Refactored code a bit
3 years ago
Samael
5138c392d5
perform CI on latest Java versions ( #816 )
3 years ago
Nancyzxy
5340aff05b
fix issue json-path#762 and add some test cases. ( #821 )
...
* fix issue json-path#762
* fix issue json-path#762
3 years ago
Debanshu Kundu
66c54c36ab
[ #789 ] Removed `unwrap()` method call from `getMapValue()` method of `JacksonJsonNodeJsonProvider` class, to fix the inconsisten behaviour of `DocumentContext#map()` method with the class. ( #793 )
...
Co-authored-by: Debanshu Kundu <debanshu@amazon.com>
3 years ago
sdww0
a60e96d6d4
fix issue json-path#786 and add test case ( #801 )
3 years ago
Kalle Stenflo
9674339436
Fix test. AS_PATH_LIST should return empty list not null.
3 years ago
zengmmm00
72fed27217
fix issue273 ( #715 )
3 years ago
Leonid
ae253ab049
Fix possible StackOverflowError in Jakarta provider ( #781 )
3 years ago
Richard Startin
921d3bc984
expose JSON providers ability to parse UTF-8 byte arrays ( #770 )
3 years ago
Richard Startin
df9cfd241a
respect SUPPRESS_EXCEPTIONS configuration ( #767 )
3 years ago
Rishabh
b14341ac5e
Not using exceptions for flow control ( #775 )
3 years ago
Leonid
39c7904e2f
Fix issues 400, 482, 487: Allow comma in the quoted string ( #747 )
...
Co-authored-by: Leonid Malikov <leonid@percival.co.uk>
3 years ago
Leonid
be070ec2c0
Jakarta EE 9 JSON-P/JSON-B provider ( #734 )
...
* Add support for JSON-P API (JSR 374)
* Add support for JSON-B API (JSR 367)
* Fix Jakarta EE 9 breaking unit tests
* Remove Import-Package instr for JSON-P/JSON-B implementations
* Fix whitespace in unit test classes
* Proxy JSON-P objects and arrays to add mutability
* Update project README for Jakarta JSON providers
Co-authored-by: Leonid Malikov <leonid@percival.co.uk>
3 years ago
Richard Startin
ed4d2a82b5
prevent truncated subexpressions + misc code cleanup ( #763 )
3 years ago
sdmms1
fcf8bf6478
Fix the issue 629 and add two testcases ( #698 )
3 years ago
mijost
8e8fc149d9
Fix concat with text and number ( #738 )
...
Co-authored-by: Jost, Michael <michael.jost@sicpa.com>
3 years ago
Richard Startin
491dfbc15e
Cache access tweaks ( #750 )
...
* don't create new cache key when there are no filters, just use the path
* fix non volatile double checked locking cache initialisation, replace with variant of holder pattern
3 years ago
Richard Startin
cc2432f54e
don't fill in stacktrace in exception used for control flow ( #751 )
3 years ago
Richard Startin
65a3f5a9e3
provide no varargs overload for notEmpty so common case does not allocate ( #752 )
3 years ago
Claus Ibsen
ca04684c05
Fixes #731 to add OSGi export package to MANIFEST.MF so json-path works in OSGi again ( #732 )
3 years ago
Cincronic
dc296b316a
fix 620 ( #693 )
...
Co-authored-by: CindyChow123 <CindyChow123>
4 years ago
Leonid
048d8d787a
Replace Gradle OSGi plugin for BND build tools ( #730 )
...
* Swap out JCenter for Maven Central and Gradle repos
* Deprecate use of OSGi Gradle plugin
Co-authored-by: Leonid Malikov <leonid@percival.co.uk>
4 years ago
Cincronic
78a9420b42
Fix bug 612 and add two testcases ( #711 )
...
* fix bug 612
* modify fix bug 612
* modify fix bug 612, add one more testcase
Co-authored-by: CindyChow123 <CindyChow123>
4 years ago
Pigdrum
7384e960c7
Fix Issue #497 and add a testcase ( #699 )
...
* The method getPropertyKeys() in class JsonOrgJsonProvider doesn't check empty jsonObject.
* Addition testcase
* simplify the implementation. And change method names of testcases to something more descriptive
* change names
4 years ago
hezonghan
727d9e05ba
fixed issue 537 and added tests ( #719 )
4 years ago
Youngea
eed1cb2814
fix issue_590 and add testcases ( #720 )
...
fix issue_590 and add testcases
4 years ago
hezonghan
12ab6619aa
issue #721 ( #722 )
...
* A solution to fix #721 , and added tests
* Replace the test file
4 years ago
Pigdrum
71ec56e38b
Fix issue #680 and two testcase ( #704 )
...
* Fix issue 680 and two testcase
* additional testcase
* adapt jdk version
* modify something wrong
* a more elegant implementation
4 years ago
Youngea
938e48f482
add feature for issue #613 and add testcases ( #700 )
...
* add feature for issue #613 and add testcases
* modification for asoffsetdatetime() function
4 years ago
Felix Schumacher
eb8db779b1
Only look for PatternFlags after a regular expression ( #661 )
4 years ago
Matt Greenwood
812bea3f85
When the path parameters to a length function for $..book.length() is translated to $.length($..book) its really taking the length of the structure pointed at by the result set $..book not $..book.* (children of book). ( #651 )
...
This was caused when the CompiledPath#invertScannerFunctionRelationship was introduced, effectively in the graph of CompiledPath translating the $..book.length() to $.length($..book) but what it should have done (for length only) is translated it to $.length($..book.*). Rather than make this bugfix in the CompiledPath source code I've made it to the Length source as this shouldn't be an issue for any other routine - length is specific in that its asking about the children (hence the .length() the dot there indicates next node(s)).
This addresses ticket 650 - https://github.com/json-path/JsonPath/issues/650 and adds unit tests for the same.
Co-authored-by: Matt Greenwood <61432137+mgreenwood1-chwy@users.noreply.github.com>
4 years ago
MarcP04
75637790f5
Fix Criteria.noneof(Object...) that was calling Criteria.subsetof(List) instead of Criteria.noneof(List) ( #653 )
...
Co-authored-by: Marc Pynaert <marc.pynaert@probance.com>
4 years ago
kallestenflo
70d11a6313
Update dependencies. ( #649 )
4 years ago
René Kriegler
698dbfae27
Avoid Locale-dependant InvalidPathException in RelationalOperator, fixes #600
5 years ago
Alanscut
6ff06c21d0
improve number type
5 years ago
Alanscut
f2aa9f8153
add BigInteger
5 years ago
Alanscut
60f77a953c
add bigdecimal/biginteger test case for jackson
5 years ago
Alanscut
eef677ab60
fix for issue #582
5 years ago
Alanscut
ca1ac4bf85
change repeated BigDecimal to BigInteger
5 years ago
Alanscut
89abebfeb0
merge if statement
5 years ago
Eric Hettiaratchi
3070bd84a5
Add unit tests for com.jayway.jsonpath.internal.Utils
...
These tests were written using Diffblue Cover.
6 years ago