Jochen Berger
e29858db73
add a Utility method to concatenate CharSequences
10 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.
10 years ago
Kalle Stenflo
8a40b0420a
Fixed issue #79 . Index out of bounds.
10 years ago
Kalle Stenflo
dbc7e90904
Fixed issue #97 . IndexOutOfBoundsException in DocumentContext.delete
10 years ago
David Lee
11c64b0298
Fix array out of bounds exception on '$.' path expression
10 years ago
Kalle Stenflo
1735bc7a87
Removed deprecated classes and some minor fixes.
10 years ago
Jochen Berger
f6bc487d5b
move the default Defaults implementation to a separate class that is only loaded when needed, this makes it possible to exclude the json-smart dependency (see https://code.google.com/p/json-path/issues/detail?id=68 )
10 years ago
Kalle Stenflo
e6e28772f3
Moved providers out of internal.
10 years ago
Kalle Stenflo
ca6d7fff66
Preparations for patch support.
10 years ago
Kalle Stenflo
6a88323b25
Preparations for patch support.
10 years ago
Jochen Berger
c45b0bafdc
add an unwrap(Object) method to JsonProvider, use it when extracting values for Criteria evaluation
11 years ago
Kalle Stenflo
28388af0f3
Renamed JacksonTreeJsonProvider.
11 years ago
Kalle Stenflo
bbcec25cf7
Added binary compatibility checks to build.
11 years ago
Kalle Stenflo
f8209fcc40
Mapping improvements.
11 years ago
Kalle Stenflo
c71e2c5e48
Improved support for Gson and Jackson Providers.
11 years ago
Kalle Stenflo
0e997e6260
Overloaded write ops with compiled path.
11 years ago
Anders D. Johnson
8ce94c22ae
fix typo for map put exception message as array add
11 years ago
Kalle Stenflo
4c886174ff
Support write operations.
11 years ago
Kalle Stenflo
ecc4631a0d
Simplified scanning impl.
11 years ago
Jochen Berger
16f839bc14
update json-smart to 2.1.0
11 years ago
Kalle Stenflo
d1869ca0a0
JsonSmartProvider more configurable. Deprecated JsonProvider Mode.
11 years ago
Kalle Stenflo
0b530378aa
Support OR statements in inline filters.
11 years ago
Kalle Stenflo
73bf52fdd8
Added limit() to JsonReader.
11 years ago
Kalle Stenflo
3cb6d6b1de
Added EvaluationListener support.
11 years ago
Kalle Stenflo
e3c1673f19
Invalid path detection improved..
11 years ago
Kalle Stenflo
313bf0b79b
Close InputStream in finally block.
11 years ago
Kalle Stenflo
69e223e4fe
Logging improvements.
11 years ago
Kalle Stenflo
c20917350e
Added result cache for root ($) queries performed by predicates.
11 years ago
Kalle Stenflo
d77f747eb1
Optimized imports.
11 years ago
Kalle Stenflo
631533e048
Multi prop restored to 0.9.
11 years ago
Kalle Stenflo
393926ad96
Fixed issue with indefinite path throwing exception.
11 years ago
Kalle Stenflo
109175f9f2
All exceptions now inherit from JsonPathException
11 years ago
Kalle Stenflo
81ed41c70a
Added Apache License header to files.
11 years ago
Kalle Stenflo
215a5e237f
Fixed issue with 'DEFAULT_PATH_LEAF_TO_NULL' and multiple properties.
11 years ago
Kalle Stenflo
c615860d34
Updated test json and docs.
11 years ago
Kalle Stenflo
4ad4647754
Removed createNull from JsonProvider
11 years ago
Kalle Stenflo
a8a50dc05a
Overloaded read operations with 'charset'
11 years ago
Kalle Stenflo
1bb52b59b0
Renamed internal 'compiler' package to 'token'
11 years ago
Kalle Stenflo
3c2d3ecc70
Changed some method names and added java doc.
11 years ago
Kalle Stenflo
05a74953ed
Renamed Converters to Mappers and added JacksonMappingProvider.
11 years ago
Kalle Stenflo
c78fcf6d1c
Made provider names more symmetrical. Some documentation.
11 years ago
Kalle Stenflo
571654f7fb
Allow document references in inline filters.
...
"store.book[?(@.display-price <= $.max-price)].display-price"
11 years ago
Jochen Berger
3a1c5b9793
remove `System.out.println`
11 years ago
Kalle Stenflo
8708a9c531
Applied Gson patch and added Gson converters for List and Map.
11 years ago
Jochen Berger
e4f78bc8ce
remove unused import
11 years ago
Kalle Stenflo
7621cd1d43
Gson support (work in progress).
11 years ago
Jochen Berger
a4bf433d68
don't use `JsonProvider.getPropertyKeys(Object)` to query a list/array's indexes
11 years ago
Jochen Berger
7dd5669991
remove unused methods from `JsonProvider` interface
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