Jochen Berger
7115c6155f
fix detection of trailing comma
9 years ago
Jochen Berger
f3ac1a0d15
fail when there are multiple commas between subscriptions
9 years ago
Jochen Berger
4bfa932cdf
fail when there are spaces inside array indexes
9 years ago
Jochen Berger
2cb9b474db
add test for #173
9 years ago
kallestenflo
9d0a363ed8
Merge pull request #188 from valery1707/badges
...
Add some useful badges with automatic version detection: Maven and Javadoc
9 years ago
kallestenflo
82723a9101
Merge pull request #189 from jochenberger/update-dependencies
...
Update dependencies
9 years ago
Jochen Berger
c3431049ad
update tapestry-json
9 years ago
Jochen Berger
7d6b825695
update SLF4J
9 years ago
Jochen Berger
428f108e2e
update Gradle wrapper and shadow plugin
9 years ago
Valeriy.Vyrva
6d3f38ca4d
Add some useful badges with automatic version detection: Maven and Javadoc
9 years ago
kallestenflo
c4de630315
Merge pull request #165 from helsing/issue_119_matchers
...
[#119 ] First implementation of hamcrest-matchers
9 years ago
kallestenflo
3c5f57f4f7
Merge pull request #177 from zline/master
...
Fix for logical operator priorities and issue #175
9 years ago
Alexey Makeyev
0d235b9ca6
more generic fix for issue #175
9 years ago
Alexey Makeyev
58c454b52d
Fix issue #175 - Size evaluation could break indefinite path evaluation
9 years ago
Alexey Makeyev
604b42f865
one more test for parentheses parsing
9 years ago
Alexey Makeyev
67b3ce7888
fix for incorrect handling of logical operator priorities
9 years ago
kallestenflo
51379c648f
Merge pull request #167 from mgreenwood1001/NestedJsonPathFunctionParameters
...
Nested json path function parameters
9 years ago
Kalle Stenflo
d3231e7f04
Some methods (i.e. DocumentContext's set) fail when JSON name has ' in it #171
9 years ago
Kalle Stenflo
3de1137b92
Document context set method produces unexpected results for arrays #170
9 years ago
Matthew J Greenwood
e6d2546c42
removed getLastElement
9 years ago
Matthew J Greenwood
5e2ef13c64
added negative test cases - removed readPosition from function parameter parser, ready for review
9 years ago
kallestenflo
bcbd9966ef
Merge pull request #172 from jochenberger/update-dependencies
...
Update dependencies and Gradle wrapper
9 years ago
Jochen Berger
434d1eb0da
update Gradle wrapper
9 years ago
Jochen Berger
53ddae1244
update libraries
9 years ago
Matthew J Greenwood
5d8e209141
Added an append function such that JSON can be appended to the current document and then a function executed over the result.
9 years ago
Patrik Helsing
84211599bf
[ #119 ] Added methods hasNoJsonPath() and withoutJsonPath(). Updated README
9 years ago
Matthew J Greenwood
01bdbe2cc3
fixing broken tests
...
changing format of functions path expr with/without args
removing errant unwrap call - added to test
9 years ago
Matthew J Greenwood
b919644425
adds an example for HttpLoading via getjson (not intended to be merged, just an example) also fixes bug #164 min/max providing wrong value
9 years ago
Patrik Helsing
96f39852fa
Merge branch 'master' into issue_119_matchers
9 years ago
Patrik Helsing
27137211a6
[ #119 ] Added README with usage examples
9 years ago
Patrik Helsing
3b273503ff
[ #119 ] Some minor refactoring to reduce amount of code, and collect the factory methods in JsonPathMatchers
9 years ago
Matthew J Greenwood
f127edabe1
Test for string, added concat function
9 years ago
Matthew J Greenwood
f932aaf22f
working version with JSON + path expressions - need to handle error cases with tests
9 years ago
Matthew J Greenwood
fadc946032
removed braces added support for JSON - need to parse JSON now...
9 years ago
Matthew J Greenwood
b0ec61f7a1
missing dot in $avg -> $.avg - fixing CI
9 years ago
Matthew J Greenwood
1fa2b0e192
added test, removed foobar from min test - derp
9 years ago
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
ac83feea14
Improved escape handling and fixed JsonValueNode issue.
9 years ago
Kalle Stenflo
569e544a10
Tests covering issue #166
9 years ago
Patrik Helsing
015723787c
[ #119 ] First implementation of hamcrest-matchers
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