Matthew J Greenwood
861c0b34bd
Modified abstract aggregation and the path compiler to handle nested functions, working implementation committed
...
still need to support literal function arguments. At the present time the document passed for parameter function parsing is the root document. Additionally, the braces still exist within the tokenizer - need to handle error conditions and see the consiquence of removing those from the implementation
9 years ago
Matthew J Greenwood
76cfa0e30f
Initiial implementation of PathCompiler changes to support functions that take other JsonPath elements - need to decide whether path parameters are relative to the function location (probably not)
...
Example:
$.sum({$.numbers.min()}, {$.numbers.max()})
You could also do something such as:
$.numbers.add({$.numbers.min()})
where add for each element in the array took another JsonPath parameter that we'd add to resulting in an array result with the min value of numbers added to each element in the number's array.
Obviously there's better examples than the above - but these changes allow the PathCompiler to parse the function parameters for nested JsonPath's
9 years ago
Kalle Stenflo
569e544a10
Tests covering issue #166
9 years ago
Kalle Stenflo
1617b3bb8d
Fix issue #163 - Excess filter expressions should be disallowed.
9 years ago
Kalle Stenflo
c773c10316
Incorrect comparison #145 . Equals == and not equals != now compares string and number. Introduced === and !== to do type safe comparison.
9 years ago
kallestenflo
642ac71018
Merge pull request #164 from fc-io/patch-1
...
fix typos in README.md
9 years ago
Fredrik Carlsson
b2c80521a7
fix typos in README.md
9 years ago
kallestenflo
9258487986
Merge pull request #158 from jochenberger/support-tapestry-json
...
add support for Tapestry JSON
9 years ago
Jochen Berger
4d6d4f46a8
add support for Tapestry JSON
9 years ago
Kalle Stenflo
86ea0ac062
PathFunctions must exist when compiled. 'size' alias for 'length'.
9 years ago
Kalle Stenflo
be21f2235e
Added test for issue #143
9 years ago
Kalle Stenflo
3c1b88a547
Renamed constants an did some clean up.
9 years ago
Kalle Stenflo
d1475e1237
Improved error handling and error messages in FilterCompiler.
9 years ago
Kalle Stenflo
0fdc030c8a
Relaxed scanning with REQUIRE_PROPERTIES option.
9 years ago
Kalle Stenflo
ea206498cc
Bracket properties can contain path chars #154
9 years ago
Kalle Stenflo
4040634a71
String quote style is serialized #154
9 years ago
Kalle Stenflo
ccdef7f0a5
Fixed naming issues and added some tests.
9 years ago
Kalle Stenflo
05dff6ac0b
Undeprecated Assert classes.
9 years ago
kallestenflo
eafc9ae14f
Merge pull request #157 from jochenberger/support-double-quotes
...
Support double quotes
9 years ago
Jochen Berger
f42517e8aa
support double quotes as string delimiters in bracket property token
9 years ago
jochenberger
9fc98a2d42
Update README.md
9 years ago
kallestenflo
0364d44407
Merge pull request #155 from jochenberger/support-double-quotes
...
accept double quotes as string delimiters in filters
9 years ago
Jochen Berger
b4a2968245
accept double quotes as string delimiters in filters
9 years ago
kallestenflo
6b27ecfcb5
Update README.md
9 years ago
kallestenflo
a6e38674ae
Update README.md
9 years ago
kallestenflo
7478c4a10c
Update changelog.md
9 years ago
kallestenflo
dc7268abfc
Update README.md
9 years ago
Kalle Stenflo
9f4b848378
Described operators.
9 years ago
kallestenflo
1895aca4c0
Update README.md
9 years ago
Kalle Stenflo
50a3f62d81
Prepare for next development iteration
9 years ago
Kalle Stenflo
41cdf435b0
Released JsonPath 2.1.0
9 years ago
Kalle Stenflo
8e98ee534c
Test Heroku automatic deploy.
9 years ago
Kalle Stenflo
1eb47a23d7
Renamed token package to path.
9 years ago
Kalle Stenflo
83c1acf193
Renamed Function interface to avoid name clash with java.util.function.Function.
9 years ago
Kalle Stenflo
33f365ef20
Removed % prefix from path functions.
9 years ago
Kalle Stenflo
fd2ac6c0be
Fixed bug in IN operator evaluation.
9 years ago
kallestenflo
086812c91e
Update README.md
9 years ago
Kalle Stenflo
c5fb181273
Array exception handling changed.
9 years ago
Kalle Stenflo
fdc4e020d2
Fixed version issue.
9 years ago
Kalle Stenflo
394b7f081b
Downgraded json-org to 20140107.
9 years ago
Kalle Stenflo
a0618eb6bd
Downgraded json-org.
9 years ago
Kalle Stenflo
35348eb814
Fixed dist target.
9 years ago
Kalle Stenflo
cb2795b38c
Added JsonOrgJsonProvider.
9 years ago
Kalle Stenflo
c97c70a33d
Renamed update operation 'convert' to 'map'.
9 years ago
Kalle Stenflo
ebd19526d8
Code cleanup.
9 years ago
Kalle Stenflo
f6999a3c80
Deprecated JsonAssert.
9 years ago
Kalle Stenflo
b1617c18ae
Upgraded dependencies to match Spring Boot.
9 years ago
Kalle Stenflo
8775a1f100
Added method to honor backwards compatibility.
9 years ago
Kalle Stenflo
4a17ae5c93
Added invalid path check.
9 years ago
Kalle Stenflo
2dae575f35
Moved PathNode into ValueNode.
9 years ago