mattg
ceda040d29
update of javadoc
8 years ago
mattg
e0eb000973
removing unused import
8 years ago
mattg
76cb105d4a
removing unused import - fixing 2nd call to get() to avoid recomputation
8 years ago
mattg
965e49e2ca
Fixes Issue #234 using late binding, ideally this might be a lambda that encapsulates its state -- given support for JDK 6+, its encapsulated state is maintained in an implementation of the interface ILateBindingValue, one for PATH functions one for JSON - its likely the JSON version doesn't have a purpose unless the JSON dynamically changes as a result of the function implementation but its better to create another impl for JSON if in the future JSON can be dynamically changed via functions(?)
...
The fault is in the Parameter object which obviously cached its value and when the outside reference changes its oblivious to that state change due to its internal cached instance of the state. Cache.getCache()... that singleton call inside of JsonContext then grabs an instance of the cached parameter, it would be thread unsafe to simple invalidate the cache because who knows for whom the cache is being invalidated.
Not caching function paths isn't an answer -- the input to a function could itself be another function - meaning the input (parameter) value would never be observed to the wrapping function and things such as take the $.max(3, 4, 5, $.avg(...)) would yield an answer without average being computed.
8 years ago
Kalle Stenflo
4d88801566
Added test for issue 309.
8 years ago
kallestenflo
e0231f0a15
Merge pull request #331 from jochenberger/fix-json-org-provider
...
fix result if object does not contain key (fixes #270 )
8 years ago
jochenberger
f118637519
Better approach
8 years ago
Jochen Berger
32a0a5294b
fix result if object does not contain key ( fixes #270 )
8 years ago
kallestenflo
b1732ff8ed
Merge pull request #330 from jochenberger/patch-1
...
Fix JSON detection
8 years ago
jochenberger
3b6a662c9b
Add test
8 years ago
jochenberger
fcfd849e83
Fix JSON detection
8 years ago
kallestenflo
3068c80979
Merge pull request #329 from jochenberger/negative-array-index
...
Add support for negative array indexes
8 years ago
Jochen Berger
571fae5ccd
add example for negative array index
8 years ago
Jochen Berger
40dac9fa73
support negative array indexes
8 years ago
kallestenflo
d3afea5036
Merge pull request #328 from jochenberger/patch-8
...
Don't create appender when not needed, remove unused variable declation
8 years ago
jochenberger
517ec8a66c
Don't create appender when not needed, remove unused variable declaration
8 years ago
kallestenflo
826c5a10e4
Merge pull request #327 from jochenberger/speed-up-filter-compiler
...
avoid some costly calls to String#trim()
8 years ago
Jochen Berger
e7ac1e60d1
avoid some costly calls to String#trim()
8 years ago
kallestenflo
5e6fbc89da
Merge pull request #320 from jochenberger/patch-1
...
Make jettison optional
8 years ago
kallestenflo
4156438497
Merge pull request #321 from jochenberger/patch-4
...
Fix distribution bundle
8 years ago
kallestenflo
590213942c
Merge pull request #322 from jochenberger/patch-5
...
Don't initialize Configuration if we don't need it
8 years ago
kallestenflo
bbe9a5d882
Merge pull request #324 from jochenberger/patch-7
...
Make inner class static
8 years ago
kallestenflo
4c245c2875
Merge pull request #323 from jochenberger/patch-6
...
Make LimitingEvaluationListener static
8 years ago
jochenberger
9f3036ece0
Make inner class static
8 years ago
jochenberger
be1e39e91a
Make LimitingEvaluationListener *static*
8 years ago
jochenberger
c02d854867
Don't initialize Configuration if we don't need it
8 years ago
jochenberger
860b6d0e88
Update build.gradle
8 years ago
jochenberger
0ff476f97d
Fix distribution bundle
8 years ago
jochenberger
7ad004c1a3
Make jettison optional
...
fixes #250
8 years ago
kallestenflo
c43c005b1b
Merge pull request #318 from jochenberger/upgrade-gradle
...
upgrade Gradle wrapper
8 years ago
kallestenflo
4189588bec
Merge pull request #316 from jochenberger/patch-2
...
upgrade tapestry-json
8 years ago
kallestenflo
d33affdda8
Merge pull request #315 from jochenberger/patch-1
...
Exclude transitive ASM dependency
8 years ago
kallestenflo
79c1cdc730
Merge pull request #310 from breenger/fix_org_json_provider
...
Fixing java.lang.NoClassDefFoundError: com/google/gson/JsonObject ...
8 years ago
kallestenflo
df909a5c75
Merge pull request #306 from plastic-karma/gson_remove_internal_dep
...
enable bigdecimal and -integer for GSONProvider
8 years ago
kallestenflo
c946c66506
Merge pull request #283 from arifogel/master
...
Implement boolean negation '!' operator for filter expressions
8 years ago
Jochen Berger
2ccde968c2
upgrade Gradle wrapper
8 years ago
jochenberger
eefd9b8b75
upgrade tapestry-json
8 years ago
jochenberger
7919f55361
Exclude transitive ASM dependency
...
We don't need the bean mapping features and it causes issues
Fixes #228 , #224 , #213
8 years ago
Andrew Prentice
788223760a
Fixing java.lang.NoClassDefFoundError: com/google/gson/JsonObject when using JsonOrgJsonProvider
8 years ago
Benjamin Rogge
291eabafda
enable bigdecimal and -integer for GSONProvider
8 years ago
kallestenflo
2a5e87c5b9
Merge pull request #285 from odlp/master
...
Add BooleanReader to allow boolean primitive to be read
9 years ago
odlp
ba3e1196dc
Add BooleanReader to allow boolean primitive to be read
...
Resolves #280
9 years ago
kallestenflo
93f23493dd
Update README.md
9 years ago
Ari Fogel
ec3a79eb77
updated documentation for ! filter predicate
9 years ago
Ari Fogel
38c7e791f6
implement not (!) operator in filter expressions
9 years ago
kallestenflo
4dc0ca9b01
Merge pull request #262 from kysnm/property_must_be_separated_by_commas
...
Property must be separated by commas
9 years ago
kallestenflo
8f788bc3a2
Merge pull request #263 from helsing/issue_254_assert_on_read_context
...
Allow ReadContext to be matched by isJson()/hasJsonPath() matchers - issue #254
9 years ago
kysnm
0ea1cb59ad
The conditions the same as the other
9 years ago
Patrik Helsing
bd5b682c7b
Make it possible to use isJson() and hasJsonPath() matchers directly on ReadContexts.
9 years ago
kysnm
2572cbab02
Property must be separated by commas
9 years ago