Greenwood
3e7707a3d4
replacing space with tabs, IDE formatting issue
8 years ago
Greenwood
07f49c4f17
addressing @jochenberger's code review comments, Created by... is IntelliJ auto-creation -- added Apache license headers
8 years ago
kallestenflo
3b5ab29f0c
Merge pull request #317 from jochenberger/patch-3
...
Upgrade SLF4J
8 years ago
Jochen Berger
98debbb67b
adapt test
8 years ago
jochenberger
0768e5bd0f
Merge branch 'master' into patch-3
8 years ago
jochenberger
a10b87f055
Merge branch 'master' into use-json-smart-for-query-parsing
8 years ago
Kalle Stenflo
69ff849eae
Added copyright date and company #251 .
8 years ago
Kalle Stenflo
c23501fcd6
Added provided tests for issue #275 .
8 years ago
kallestenflo
d79e861786
Merge pull request #334 from jochenberger/upgrade-json-smart
...
upgrade json-smart dependency
8 years ago
mattg
b2c752cb5f
missed one file, removed args
8 years ago
mattg
cece640892
removing dead constructor arg
8 years ago
mattg
eb0503db1d
removing commented out code
8 years ago
mattg
e739514e64
update of javadoc
8 years ago
mattg
ca1fe5612d
update of javadoc
8 years ago
mattg
9ab2ccd4cc
removing unused import
8 years ago
mattg
925fb7d6c3
removing unused import - fixing 2nd call to get() to avoid recomputation
8 years ago
mattg
3a69db83f0
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
Jochen Berger
b4b0fe3ae0
upgrade json-smart dependency
8 years ago
jochenberger
d900f7aa41
FIx typo in exception message
8 years ago
Kalle Stenflo
211beac6ce
Added test for issue 309.
8 years ago
kallestenflo
a766f13561
Merge pull request #331 from jochenberger/fix-json-org-provider
...
fix result if object does not contain key (fixes #270 )
8 years ago
jochenberger
7fc262724b
Better approach
8 years ago
Jochen Berger
b536af9b9a
fix result if object does not contain key ( fixes #270 )
8 years ago
jochenberger
7ac3039965
Restore accidentally removed line
8 years ago
kallestenflo
46934460f4
Merge pull request #330 from jochenberger/patch-1
...
Fix JSON detection
8 years ago
jochenberger
81d64ed2ae
Use json-smart to detect whether the String is JSON
8 years ago
jochenberger
7e9cfc90be
Add test
8 years ago
jochenberger
2774037a5b
Fix JSON detection
8 years ago
kallestenflo
5743f3a9b6
Merge pull request #329 from jochenberger/negative-array-index
...
Add support for negative array indexes
8 years ago
Jochen Berger
da0c048f4e
add example for negative array index
8 years ago
Jochen Berger
43414d8457
support negative array indexes
8 years ago
kallestenflo
37bdc37460
Merge pull request #328 from jochenberger/patch-8
...
Don't create appender when not needed, remove unused variable declation
8 years ago
jochenberger
01118a7214
Don't create appender when not needed, remove unused variable declaration
8 years ago
kallestenflo
e7a6e77435
Merge pull request #327 from jochenberger/speed-up-filter-compiler
...
avoid some costly calls to String#trim()
8 years ago
Jochen Berger
3aae70f752
avoid some costly calls to String#trim()
8 years ago
jochenberger
2a16517f61
Merge branch 'master' into use-json-smart-for-query-parsing
8 years ago
kallestenflo
36fd0ee52f
Merge pull request #320 from jochenberger/patch-1
...
Make jettison optional
8 years ago
kallestenflo
1b74a3b567
Merge pull request #321 from jochenberger/patch-4
...
Fix distribution bundle
8 years ago
kallestenflo
9d8f29606f
Merge pull request #322 from jochenberger/patch-5
...
Don't initialize Configuration if we don't need it
8 years ago
kallestenflo
e08cfba323
Merge pull request #324 from jochenberger/patch-7
...
Make inner class static
8 years ago
kallestenflo
5544bfbecb
Merge pull request #323 from jochenberger/patch-6
...
Make LimitingEvaluationListener static
8 years ago
jochenberger
3588439e6b
Make inner class static
8 years ago
jochenberger
7e85a14247
Make LimitingEvaluationListener *static*
8 years ago
jochenberger
ed783b5806
Don't initialize Configuration if we don't need it
8 years ago
jochenberger
dabeeba3c2
Update build.gradle
8 years ago
jochenberger
8ad32cc853
Fix distribution bundle
8 years ago
jochenberger
bc1fe3f7a5
Make jettison optional
...
fixes #250
8 years ago
jochenberger
aba863021c
Don't mark json-smart as optional
8 years ago
kallestenflo
c4db9a22bf
Merge pull request #318 from jochenberger/upgrade-gradle
...
upgrade Gradle wrapper
8 years ago
kallestenflo
ccaf267359
Merge pull request #316 from jochenberger/patch-2
...
upgrade tapestry-json
8 years ago