Kalle Stenflo
1412b6dfbe
Removed ignored test that does not make sense.
10 years ago
Kalle Stenflo
81ed41c70a
Added Apache License header to files.
10 years ago
Jochen Berger
a86732cf1a
more tiny performance improvements
10 years ago
Kalle Stenflo
5315b7d47f
Don't eval to much in && and || filters.
10 years ago
Kalle Stenflo
13a0bb2ef1
Support 'OR' and 'AND' on Filter
10 years ago
Kalle Stenflo
215a5e237f
Fixed issue with 'DEFAULT_PATH_LEAF_TO_NULL' and multiple properties.
10 years ago
Kalle Stenflo
c615860d34
Updated test json and docs.
10 years ago
Kalle Stenflo
4ad4647754
Removed createNull from JsonProvider
10 years ago
Kalle Stenflo
a8a50dc05a
Overloaded read operations with 'charset'
10 years ago
Kalle Stenflo
1bb52b59b0
Renamed internal 'compiler' package to 'token'
10 years ago
Kalle Stenflo
3c2d3ecc70
Changed some method names and added java doc.
10 years ago
Kalle Stenflo
2d01aa630b
Fixed failing test.
10 years ago
Kalle Stenflo
05a74953ed
Renamed Converters to Mappers and added JacksonMappingProvider.
10 years ago
Kalle Stenflo
c78fcf6d1c
Made provider names more symmetrical. Some documentation.
10 years ago
Kalle Stenflo
358ba2398e
Removed unused imports.
10 years ago
Kalle Stenflo
571654f7fb
Allow document references in inline filters.
...
"store.book[?(@.display-price <= $.max-price)].display-price"
10 years ago
Jochen Berger
3a1c5b9793
remove `System.out.println`
10 years ago
Kalle Stenflo
baa660478c
Fixed constructor in ConversionException
10 years ago
Kalle Stenflo
8708a9c531
Applied Gson patch and added Gson converters for List and Map.
10 years ago
Jochen Berger
e4f78bc8ce
remove unused import
10 years ago
Kalle Stenflo
7621cd1d43
Gson support (work in progress).
10 years ago
Jochen Berger
e9cdeb593b
disable `ScanPathTokenTest.a_root_scan()` for the moment
10 years ago
Jochen Berger
a4bf433d68
don't use `JsonProvider.getPropertyKeys(Object)` to query a list/array's indexes
10 years ago
Jochen Berger
7dd5669991
remove unused methods from `JsonProvider` interface
10 years ago
Jochen Berger
d99e947aa9
create fewer copies of the `char[]` backing the path's `String`
10 years ago
Jochen Berger
b786c87c23
use `charAt` insteadof `startsWith`/`endsWith` when checking for single characters, reduce number of calls to `isNullish`
10 years ago
Kalle Stenflo
15f1330987
Reworked conversion handling.
10 years ago
Jochen Berger
207f3c6ffb
reuse StringBuilder instances
10 years ago
Kalle Stenflo
0c68aa8615
GsonProvider
10 years ago
Kalle Stenflo
d0a7d2f564
GsonProvider
10 years ago
Kalle Stenflo
34ef58cba9
Criteria improvement.
10 years ago
Jochen Berger
3602155241
remove unused variables, make some methods static
10 years ago
Jochen Berger
c8cf8356c1
remove `JsonProviderFactory`, the `JsonProvider` should be set via `Configuration`
10 years ago
Kalle Stenflo
3386f1ab28
Clean up tests.
10 years ago
Kalle Stenflo
01b979be98
Renamed FilterPathToken to PredicatePathToken
10 years ago
Jochen Berger
2664f83104
merge JsonProvider's getMapValue methods, various small performance improvements
10 years ago
Kalle Stenflo
cb6a2e805a
Removed MERGE_MULTI_PROP option (not part of spec).
10 years ago
Jochen Berger
214720804d
remove some obsolete methods from the @JsonProvider@ interface
10 years ago
Kalle Stenflo
ecde41a1e1
Added Converter to support type conversion.
10 years ago
Kalle Stenflo
8b918b2238
Made Filter more functional. Now it's only referred as Predicate.
10 years ago
Kalle Stenflo
f05774a437
Fixed some tangles and removed dead tests.
10 years ago
Kalle Stenflo
1417c22823
Load webapp from disk.
10 years ago
Kalle Stenflo
4194ac3e7e
Clean up.
10 years ago
Daniel Meyer
1f20b7e4e4
improve JacksonProvider: allow using custom ObjectMapper
...
allows configuring the JacksonProvider to use a custom ObjectMapper.
This is useful in case the user has an existing ObjectMapper with
custom configuration.
10 years ago
Jochen Berger
082c2b7f7f
small fixes for the Criteria class
10 years ago
Jochen Berger
2d597f0d7a
small performance improvements for Utils.createRange
10 years ago
Jochen Berger
f1eb8a85d1
update json-smart to 2.0
10 years ago
Jochen Berger
308dd6ecd4
remove unused import, make Utils a real utility class (final and private c'tor)
10 years ago
Epimenidis Voutsakis
71c92474de
- Fix non-existent import
...
- Add tests for assertEquals() methods with integer arguments, both success and failing cases.
- Altered JsonAsserterImpl.java so that assertEquals() still returns AssertionError when invalid field or other reading exception.
10 years ago
Kalle Stenflo
955042f924
Removed unused exceptions.
10 years ago