Jochen Berger
e9c9c19138
don't reassign method parameters
9 years ago
Jochen Berger
e29858db73
add a Utility method to concatenate CharSequences
9 years ago
Kalle Stenflo
81b1d522c8
Fixed issue in test.
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
Matt Greenwood
f76d556fb6
changed JSONArray -> interface Collection to catch all use-cases
10 years ago
Matt Greenwood
f40063bf02
added case for length of map or JSONArray of values
10 years ago
Matt Greenwood
a4c4cd58fa
Removed the need for parsing the path - its no longer the path, its now the function name
10 years ago
Matt Greenwood
6c083d3a51
reverted change to lotto.json, added test case for functions in predicates
10 years ago
Matt Greenwood
1a0ea4b559
initial commit of function support providing math / JSON helper routines in path execution
10 years ago
Matt Greenwood
89e71a9353
initial commit of function support providing math / JSON helper routines in path execution
10 years ago
Franz Forsthofer
d3f4252d5e
osgi dependency to gson, jackson, json-smart made optional
...
Change-Id: Id75d66b053e22530dd0dd1b9afe3314e931da455
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
Tamas Adam
b5c175d04d
Added convert method for path value in-situ conversion.
10 years ago
Tamas Adam
0042ae9624
Added missing test file.
10 years ago
Tamas Adam
48544d14ab
Fix for list element removel if multiple path elements match.
10 years ago
Tamas Adam
3cc47259fa
Using the more approtiate PathNotFoundException if old key in rename map was not found.
10 years ago
Tamas Adam
dbff1d8b48
Fix for rename on non-existing old key - an InvalidPathException is thrown.
10 years ago
Tamas Adam
4b04a1434b
Code clenup, added mven plugin to gradle build.
10 years ago
Tamas Adam
f16ce7c2c6
Added renameKey feature to rename a key value found in a map path to a new key value.
10 years ago
Kalle Stenflo
c03dcf77c5
Tests for issue #76
10 years ago
David Lee
11c64b0298
Fix array out of bounds exception on '$.' path expression
10 years ago
Kalle Stenflo
4de672c705
Replaced Factory interface with Callable.
10 years ago
Kalle Stenflo
1735bc7a87
Removed deprecated classes and some minor fixes.
10 years ago
Kalle Stenflo
9837c72aaf
Fixed issue #71 escape ' in inline criteria.
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
Jochen Berger
00c32fe5d3
add a test for https://code.google.com/p/json-path/issues/detail?id=58
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
10 years ago
Kalle Stenflo
28388af0f3
Renamed JacksonTreeJsonProvider.
10 years ago
Kalle Stenflo
bbcec25cf7
Added binary compatibility checks to build.
10 years ago
Kalle Stenflo
f8209fcc40
Mapping improvements.
10 years ago
Kalle Stenflo
c71e2c5e48
Improved support for Gson and Jackson Providers.
10 years ago
Kalle Stenflo
dee2163e14
Added input validation.
10 years ago
Kalle Stenflo
0e997e6260
Overloaded write ops with compiled path.
10 years ago
Kalle Stenflo
290edb540c
Negate exist checks in inline filters (not defined or null)
...
parse(JSON_DOCUMENT).read("$.store.book[?(!@.isbn)]")
10 years ago
Kalle Stenflo
f3b1753ad2
Support for regex in inline filters (fixed test).
10 years ago
Kalle Stenflo
78c8d908c1
Support for regex in inline filters.
10 years ago
Anders D. Johnson
8ce94c22ae
fix typo for map put exception message as array add
10 years ago
Kalle Stenflo
ca4d18911e
Inline criteria handles path stmt on both sides of operator.
10 years ago
Kalle Stenflo
4c886174ff
Support write operations.
10 years ago
Kalle Stenflo
ecc4631a0d
Simplified scanning impl.
10 years ago
Kalle Stenflo
2e2d6822d7
Made AndFilter members private final.
10 years ago
Jochen Berger
16f839bc14
update json-smart to 2.1.0
10 years ago
Kalle Stenflo
17ed1b71e7
Added task to create distribution bundle.
10 years ago
Kalle Stenflo
4cf495a912
Fixed failing test.
10 years ago
Kalle Stenflo
d1869ca0a0
JsonSmartProvider more configurable. Deprecated JsonProvider Mode.
10 years ago
Kalle Stenflo
23faeddbfb
Improved toString method and restored dropped factory method.
10 years ago