Kalle Stenflo
07390fcb16
Added tests for EMPTY operator.
9 years ago
Kalle Stenflo
3a077886e9
Fixed EMPTY operator.
9 years ago
Kalle Stenflo
3175114158
Extracted filter parsing to new test class.
9 years ago
Kalle Stenflo
59d09fc20c
Reintroduced commented test.
9 years ago
Kalle Stenflo
4dbed10bef
Added tests for issue #141
9 years ago
Kalle Stenflo
1a72fc078d
Filter implementation reworked.
9 years ago
Kalle Stenflo
3adc04bd13
Made write features JsonProvider neutral.
9 years ago
Kalle Stenflo
fc746d78e6
Stricter configuration of CacheProvide.
9 years ago
Kalle Stenflo
179a818418
Minor cache fixes.
9 years ago
Alexey Makeyev
fcc81d16d6
fix for NumberFormatException exception during Criteria evaluation
...
Its incorrect to break entire path evaluation - other nodes should have their chance to be found by Criteria.
9 years ago
Alexey Makeyev
bcd00f7b7b
test moved to avoid visibility changes
9 years ago
Alexey Makeyev
5f8dc8ae0b
path compilation issues tests moved to proper location
9 years ago
Kalle Stenflo
6353b20ad4
Fixed null issue.
9 years ago
Kalle Stenflo
8647a607da
Incorrect error message for JsonPath.read(Object) #89
9 years ago
Kalle Stenflo
e3e29444cf
Handle invalid options when using functions.
9 years ago
Alexey Makeyev
22bd223f58
java 6 support
...
also, to run tests you have to downgrade org.assertj:assertj-core to 1.7.0
9 years ago
Alexey Makeyev
97db5795bd
fix for escaped backslash in property inside predicate
9 years ago
Alexey Makeyev
5c0dc56722
number of issues discovered in predicate parsing
...
And I dont see a quickfix. I suggest reimplementing entire path compilation using context-free grammar approach.
9 years ago
Alexey Makeyev
101ffa6090
smallfix for deep scan predicate (though, kind of redundant, but logic is clearer)
9 years ago
Alexey Makeyev
99637ca2d7
added support of multiple object properties in non-leaf path node
...
Semantics of this case is the same as semantics of ArrayPathToken with multiple array indices specified.
9 years ago
Alexey Makeyev
e8af47fa98
multiple properties path token at the end of the path: tests and fix
9 years ago
Kalle Stenflo
f836244fea
How to match "(left instanceof Number && right instanceof Number)" in safeCompare #90
9 years ago
Kalle Stenflo
2b66f23dd0
Using square bracket literal in path.
9 years ago
Kalle Stenflo
25c11da57e
Checking if Node Exists - Bracket Notation Syntax #131
9 years ago
Kalle Stenflo
18ddbe90b4
Checking if Node Exists - Bracket Notation Syntax #131
9 years ago
Alexey Makeyev
f03875784e
deep scan fixes and tests
9 years ago
Alexey Makeyev
1d259d1857
semantic of PathToken.isUpstreamDefinite changed: current token is not an upstream of itself
9 years ago
gauravgupta
f25ec6c0cd
fixed the cache key and the unit test (use the same key when fetching
...
and looking up cache) #94
9 years ago
Alexey Makeyev
f013e86fb8
fix for object property handling in case of Option.SUPPRESS_EXCEPTIONS and indefinite upstream path
9 years ago
Alexey Makeyev
f2d2a25744
multiprops not in leaf are disallowed at the moment
9 years ago
Archimedes Trajano
87d7942b63
removed unused logger
9 years ago
gauravgupta
9bc0f8b213
Added filters to the cache key #94
9 years ago
Alexey Makeyev
630f0c15b3
fix for PathToken.isUpstreamDefinite
9 years ago
Alexey Makeyev
296d3578d6
tests of Option.ALWAYS_RETURN_LIST in case of indefinite path moved to separate test
9 years ago
Alexey Makeyev
9566d846e6
two more tests for Option.ALWAYS_RETURN_LIST in case of indefinite path
9 years ago
Alexey Makeyev
03bec8af41
two more tests for Option.ALWAYS_RETURN_LIST
9 years ago
gauravgupta
eebfd8bbda
Updating the cache on cache miss
9 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();
9 years ago
Kalle Stenflo
e1d5329a8c
Improved test for Filter serialization.
9 years ago
Kalle Stenflo
454b7d49a3
PathCompiler simplifications.
9 years ago
Archimedes Trajano
286aff4818
Alternate constructor for ValueCompareException
...
This passes the message in the exception rather than being lost in the
logs.
9 years ago
Archimedes Trajano
0f3d143fa9
Remove unused logger from class
...
The logger is not used in this class. Might as well remove it.
9 years ago
Kalle Stenflo
ba08ae3018
Stab at fixing #94 cache problem.
9 years ago
Archimedes Trajano
93651e49b7
Only call getEffectiveDefaults when needed
...
The call to `getEffectiveDefaults` will make `json-smart` dependency
required for processing. By removing the call when not needed
`json-smart` can be safely excluded.
In addition the logger was removed since it was not being used.
9 years ago
Archimedes Trajano
8818ee7ade
Remove unused logger from class
...
Logger is not being used here so removing.
9 years ago
Archimedes Trajano
616c5275b7
Remove unused logger from class
...
Logger is not being used here. Removing
9 years ago
Archimedes Trajano
b79f0550a2
Store problematic JSON in exception
...
Rather than logging the JSON that is problematic store it as part of the exception. Remove the logger since it is no longer being used.
9 years ago
Archimedes Trajano
cba33fba05
Store problematic JSON in exception
...
Rather than logging the JSON that is problematic store it as part of the exception. Remove the logger since it is no longer being used.
9 years ago
Archimedes Trajano
9dd0cd9fb3
Provide a constructor that captures the JSON
...
Rather than "debug" the JSON which does not allow further processing for the exception capture and put it inside the exception data.
9 years ago
Archimedes Trajano
724565dca6
Remove unused logger from class
...
The logger is not used in this class. Might as well remove it.
9 years ago