Greenwood
bb682179c2
replacing space with tabs, IDE formatting issue
8 years ago
Greenwood
e8199bd93d
addressing @jochenberger's code review comments, Created by... is IntelliJ auto-creation -- added Apache license headers
8 years ago
mattg
6b45f7e50f
missed one file, removed args
8 years ago
mattg
fd6f8a6f3e
removing dead constructor arg
8 years ago
mattg
4b19669222
removing commented out code
8 years ago
mattg
760abf2a39
update of javadoc
8 years ago
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
jochenberger
f118637519
Better approach
8 years ago
Jochen Berger
32a0a5294b
fix result if object does not contain key ( fixes #270 )
8 years ago
jochenberger
3b6a662c9b
Add test
8 years ago
jochenberger
fcfd849e83
Fix JSON detection
8 years ago
Jochen Berger
40dac9fa73
support negative array indexes
8 years ago
jochenberger
517ec8a66c
Don't create appender when not needed, remove unused variable declaration
8 years ago
Jochen Berger
e7ac1e60d1
avoid some costly calls to String#trim()
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
Jochen Berger
2ccde968c2
upgrade Gradle wrapper
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
odlp
ba3e1196dc
Add BooleanReader to allow boolean primitive to be read
...
Resolves #280
9 years ago
Ari Fogel
38c7e791f6
implement not (!) operator in filter expressions
9 years ago
kysnm
0ea1cb59ad
The conditions the same as the other
9 years ago
kysnm
2572cbab02
Property must be separated by commas
9 years ago
jmlamare
0275491485
Jettison Integration
9 years ago
jmlamare
e5f210f6a1
Jettison Integration
9 years ago
jmlamare
d2a6e7b29b
Add support for Jettison
9 years ago
Jan Lolling
3d0c3e99a5
Null-node instead of removing attribute when set null as value
9 years ago
Jan Lolling
a1605a167b
Bug fixed : #211 setProperty and setArrayIndex set/add cloned nodes
9 years ago
jochenberger
f57b692587
Make `org.apache.tapestry5.json.*` optional in the manifest
9 years ago
Kevin Conaway
f077bbb97d
#200 Add support for BigInteger to JsonSmartMappingProvider
9 years ago
Jochen Berger
8b26fae7b4
fix and test for 'not exists' serialization ( fixes #178 )
9 years ago
Jochen Berger
a8bc2af229
remove the get_json function that was accidentally introduced when merging #167 ( fixes #180 )
9 years ago
Jochen Berger
7115c6155f
fix detection of trailing comma
9 years ago
Jochen Berger
f3ac1a0d15
fail when there are multiple commas between subscriptions
9 years ago
Jochen Berger
4bfa932cdf
fail when there are spaces inside array indexes
9 years ago
Jochen Berger
2cb9b474db
add test for #173
9 years ago
Jochen Berger
c521615a5a
speed up the abort of an evaluation. It's quite expensive to create an exception and fill its stack. As we don't care about the stack anyway, we don't fill it, also we cache a single exception instance
9 years ago
Spyridon Papadopoulos
18ff41336f
Updated GsonJsonProvider using also a customized Gson object.
9 years ago
mchmielarz
1e3f11cbc2
Solution proposal for #181
9 years ago
Alexey Makeyev
0d235b9ca6
more generic fix for issue #175
9 years ago
Alexey Makeyev
58c454b52d
Fix issue #175 - Size evaluation could break indefinite path evaluation
9 years ago