Drake Tetreault
7e2325dd9f
Implement parse() function.
...
The parse function operates on JSON string properties whose contents are
serialized JSON entities. The function outputs the parsed JSON entity, for
further selection within the serialized object.
For example, given the following JSON:
{ "serialized": "{\"foo\": \"bar\"}" }
The search expression $.serialized.parse().foo would return "bar".
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 )
4 years ago
kallestenflo
45503c6a2b
Update README.md
4 years ago
kallestenflo
5a6a8f0fa5
Update README.md
4 years ago
Kalle Stenflo
52b7ce7663
Prepare next version.
4 years ago
Kalle Stenflo
716e4a9ca5
Release 2.6.0
4 years ago
Cincronic
dc296b316a
fix 620 ( #693 )
...
Co-authored-by: CindyChow123 <CindyChow123>
4 years ago
Kalle Stenflo
f329196572
Updated dependencies
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
Nolan Emirot
fb0d84f0a3
chore: update json-smart ( #716 )
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
Ralph Hart
0dca7ea7f8
Update json-path-assert version in README ( #633 )
4 years ago
Valery Yatsynovich
bdfff5d166
Remove unused Javadoc Hotfix Gradle Plugin ( #659 )
4 years ago
Felix Schumacher
eb8db779b1
Only look for PatternFlags after a regular expression ( #661 )
4 years ago
Fabian Halkivaha
15354f7fb4
document concat and append function ( #668 )
4 years ago
mmm83
19870381c8
#687 update json-smart to fix CVE-2021-27568 ( #688 )
4 years ago
Gerrit Grunwald
f3c8fd75a6
GitHub actions ( #646 )
...
* Added github action to test the build on each push
On each push gradlew build will be executed on Ubuntu 18.04 using JDK 8, 11.
4 years ago
Itsuki Toyota
180839cdd0
Document .keys() ( #655 )
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
Kalle Stenflo
48312f4814
Prepare next version.
4 years ago
Kalle Stenflo
8ad4743998
Release 2.5.0
4 years ago
kallestenflo
70d11a6313
Update dependencies. ( #649 )
4 years ago
kallestenflo
1e18a13b69
Merge pull request #440 from sergey-sw/master
...
Add keys function for Map objects
4 years ago
kallestenflo
ba35cf9c6c
Merge pull request #601 from renekrie/issue600
...
Avoid InvalidPathException in RelationalOperator, fixes #600
4 years ago
kallestenflo
8420a6d8a8
Merge pull request #638 from kishorkunal-raj/master
...
Adding ppc64le architecture support on travis-ci
4 years ago
kishorkunal-raj
2d8af3d867
Adding ppc64le architecture support on travis-ci
4 years ago
kallestenflo
1ed1ea08a3
Merge pull request #592 from Alanscut/gson_provider
...
improve number type
5 years ago
kallestenflo
157dc08107
Merge pull request #588 from Alanscut/decimal-test
...
add bigdecimal/biginteger test case for jackson
5 years ago
kallestenflo
1fc1784109
Merge pull request #589 from Alanscut/jackson_provider
...
add BigInteger
5 years ago
kallestenflo
8d49cc7233
Merge pull request #585 from Alanscut/readme
...
update Configuration part in README
5 years ago
kallestenflo
512a35c171
Merge pull request #574 from JBertaux/master
...
Add a part in the readme describing how to set a value
5 years ago
kallestenflo
45cde7b4b7
Merge pull request #583 from Alanscut/npe
...
Fix for issue #582 -- NullPointerException of JsonProvider.length()
5 years ago
kallestenflo
fd478df62c
Merge pull request #573 from valfirst/upgrade-gradle
...
Upgrade to Gradle 5.6.2
5 years ago
kallestenflo
604f266d85
Merge pull request #572 from valfirst/upgrade-hamcrest
...
Upgrade to Hamcrest 2.1
5 years ago
kallestenflo
49e8b86ad6
Merge pull request #584 from Alanscut/redundant_if
...
imporve redundant if statement
5 years ago
René Kriegler
698dbfae27
Avoid Locale-dependant InvalidPathException in RelationalOperator, fixes #600
5 years ago
JBertaux
dfbaf890f9
Update README.md
...
Co-Authored-By: Alan Wang <948467222@qq.com>
5 years ago