Kalle Stenflo
1a72fc078d
Filter implementation reworked.
10 years ago
Kalle Stenflo
179a818418
Minor cache fixes.
10 years ago
Alexey Makeyev
97db5795bd
fix for escaped backslash in property inside predicate
10 years ago
Kalle Stenflo
2b66f23dd0
Using square bracket literal in path.
10 years ago
Archimedes Trajano
87d7942b63
removed unused logger
10 years ago
gauravgupta
bf33697891
Externalized the cache using CacheProvider spi.
...
Set the CacheProvider in the Configuration:
Configuration
.builder()
.mappingProvider(new <<Implementation of mapping provider>>)
.jsonProvider(new <<Implementation of JsonProvider>>)
.cacheProvider(new <<implementation of CacheProvider>>)
.build();
10 years ago
Kalle Stenflo
454b7d49a3
PathCompiler simplifications.
10 years ago
Jochen Berger
d7c5fc34ea
use utility method to concatenate Strings
10 years ago
Jochen Berger
e9c9c19138
don't reassign method parameters
10 years ago
Matt Greenwood
89e71a9353
initial commit of function support providing math / JSON helper routines in path execution
10 years ago
David Lee
11c64b0298
Fix array out of bounds exception on '$.' path expression
10 years ago
Kalle Stenflo
f8209fcc40
Mapping improvements.
11 years ago
Kalle Stenflo
4c886174ff
Support write operations.
11 years ago
Kalle Stenflo
0b530378aa
Support OR statements in inline filters.
11 years ago
Kalle Stenflo
e3c1673f19
Invalid path detection improved..
11 years ago
Kalle Stenflo
69e223e4fe
Logging improvements.
11 years ago
Kalle Stenflo
81ed41c70a
Added Apache License header to files.
11 years ago
Kalle Stenflo
c615860d34
Updated test json and docs.
11 years ago
Kalle Stenflo
1bb52b59b0
Renamed internal 'compiler' package to 'token'
11 years ago
Kalle Stenflo
571654f7fb
Allow document references in inline filters.
...
"store.book[?(@.display-price <= $.max-price)].display-price"
11 years ago
Kalle Stenflo
7621cd1d43
Gson support (work in progress).
11 years ago
Jochen Berger
d99e947aa9
create fewer copies of the `char[]` backing the path's `String`
11 years ago
Jochen Berger
b786c87c23
use `charAt` insteadof `startsWith`/`endsWith` when checking for single characters, reduce number of calls to `isNullish`
11 years ago
Jochen Berger
207f3c6ffb
reuse StringBuilder instances
11 years ago
Jochen Berger
3602155241
remove unused variables, make some methods static
11 years ago
Kalle Stenflo
01b979be98
Renamed FilterPathToken to PredicatePathToken
11 years ago
Kalle Stenflo
8b918b2238
Made Filter more functional. Now it's only referred as Predicate.
11 years ago
Kalle Stenflo
f05774a437
Fixed some tangles and removed dead tests.
11 years ago
Kalle Stenflo
c88638c4ef
Fixed issues
11 years ago
Kalle Stenflo
8da4d1a1d6
Option handling improved.
11 years ago
Kalle Stenflo
0d8192170a
Code clean up and JacksonProvider improvements.
11 years ago
Kalle Stenflo
ac83eb0934
Fixed bug with multiple properties.
...
$.store.book[0]['title', 'author']
11 years ago
Kalle Stenflo
143f6ff25d
Implement the field exists check.
11 years ago
Kalle Stenflo
eb30ce7665
Improved error messages.
11 years ago
Kalle Stenflo
608c1a77be
Rewrite intenals.
11 years ago