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
Kalle Stenflo
a269580b36
Ignored failing test. Not sure how to handle this yet.
10 years ago
Kalle Stenflo
7621d48a8a
JsonProvider.creteArray now returns Object.
10 years ago
Kalle Stenflo
c88638c4ef
Fixed issues
10 years ago
Kalle Stenflo
8da4d1a1d6
Option handling improved.
11 years ago
Kalle Stenflo
c2b1c1be76
Fixed bug in multi index select.
11 years ago
Kalle Stenflo
6ac6b60dd4
Added option to Suppress exceptions.
11 years ago
Kalle Stenflo
fd7074aa1f
JsonProvider returns constant value to signal undefined instead of throwing exception.
11 years ago
Kalle Stenflo
080d68717a
Improved type safety and performance in JsonProvider.
11 years ago
Kalle Stenflo
1f79c6d357
Improved type safety and performance in JsonProvider.
11 years ago
Kalle Stenflo
0d8192170a
Code clean up and JacksonProvider improvements.
11 years ago
Kalle Stenflo
ac83eb0934
Fixed bug with multiple properties.
...
$.store.book[0]['title', 'author']
11 years ago
Kalle Stenflo
5a4bf10940
Code clean up.
11 years ago
Kalle Stenflo
20511b5cfc
Optimized imports and removed file headers.
11 years ago
Kalle Stenflo
e879a09b5a
Improved error message and exceptions when model is null.
11 years ago