Archimedes Trajano
562baa1437
Used new Travis infrastructure
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
kallestenflo
bb75b172b5
Merge pull request #135 from jochenberger/update-gradle-wrapper
...
update Gradle wrapper to 2.7
9 years ago
Jochen Berger
29006fbb94
update Gradle wrapper to 2.7
9 years ago
kallestenflo
1a6c34021e
Merge pull request #134 from trajano/value-compare-exception-ctor
...
Alternate constructor for ValueCompareException
9 years ago
kallestenflo
6eb66661c4
Merge pull request #133 from trajano/remove-unused-logger
...
Remove unused logger from class
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
kallestenflo
fca1284896
Merge pull request #115 from genman/patch
...
Support for JSON expressions parsing, fix escapes in strings.
9 years ago
kallestenflo
35b45f5e0b
Merge pull request #118 from jochenberger/fix-require-properties-handling
...
fix handling of REQUIRE_PROPERTIES with nested objects
9 years ago
kallestenflo
fbc15e9c9f
Merge pull request #125 from trajano/patch-1
...
Remove unused logger from class
9 years ago
kallestenflo
055e8467fc
Merge pull request #126 from trajano/patch-2
...
Store problematic JSON in exception
9 years ago
kallestenflo
febc2a587a
Merge pull request #117 from jochenberger/simplify-json-provider
...
Be more consistent about when to use object and array methods
9 years ago
kallestenflo
1cfe33998c
Merge pull request #128 from trajano/getEffectiveDefaults-when-necessary
...
Only call getEffectiveDefaults when needed
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
Jochen Berger
a048edb1cb
consistently use setArrayIndex for arrays instead of setProperty
9 years ago
Jochen Berger
8c2b7b6761
fix handling of REQUIRE_PROPERTIES with nested objects
9 years ago
Jochen Berger
77583725b4
Only arrays will be passed to JsonProvider.toIterable(Object) anyway
9 years ago
Elias Ross
fb9c621e5c
unescape strings in comparison, to deal with tabs, etc.
9 years ago
Elias Ross
c759a20188
Allow JSON values to be directly used in criteria matching
...
This is useful for matching against arrays of primitives, for example.
9 years ago
kallestenflo
09977aa745
Merge pull request #110 from jochenberger/improvements
...
Some small improvements
9 years ago
kallestenflo
5e3bd2d8c6
Merge pull request #109 from jochenberger/ignore-eclipse-build-dir
...
add Eclipse build directory to .gitignore
9 years ago
Jochen Berger
d7c5fc34ea
use utility method to concatenate Strings
9 years ago
Jochen Berger
e9c9c19138
don't reassign method parameters
9 years ago
Jochen Berger
e29858db73
add a Utility method to concatenate CharSequences
9 years ago
Jochen Berger
e64ba61157
add Eclipse build directory to .gitignore
9 years ago
Kalle Stenflo
070eb1d9d2
Downgraded AssertJ to 2.1.0 (version 3 is java 8)
9 years ago
kallestenflo
7ee88cbed0
Merge pull request #74 from DALDEI/master
...
Fix array out of bounds exception on '$.' path expression
9 years ago
kallestenflo
df459577d0
Merge pull request #102 from forsthofer/master
...
osgi dependency to gson, jackson, json-smart made optional
9 years ago
Kalle Stenflo
f5d6382e4d
Merge branch 'dnetmj-dnetmj-patch-1'
9 years ago
Kalle Stenflo
bb200153e8
Merge branch 'dnetmj-patch-1' of git://github.com/dnetmj/JsonPath into dnetmj-dnetmj-patch-1
9 years ago
Kalle Stenflo
13e71d792c
Merge branch 'jochenberger-update-dependencies'
9 years ago
Kalle Stenflo
81b1d522c8
Fixed issue in test.
9 years ago
Jochen Berger
1da1eb2487
update libs (breaks src.test.java.com.jayway.jsonpath.old.IssuesTest.issue_76()), see #76
9 years ago
dnetmj
0aa5bb6a09
Fix parsing of quoted strings
...
Pretty printing was not distinguishing between single-quote delimited strings and double-quote delimited strings, which in earlier revisions caused an exception which the latest revision caught and swallowed, but didn't really fix. This change refactors the prettyPrint method as a state machine which correctly handles both quoting and escaping within strings. The isEscaped method is eliminated.
9 years ago