kallestenflo
6627700e1d
Merge pull request #363 from jochenberger/patch-3
...
Fix cast
8 anni fa
jochenberger
7037b37d80
Fix cast
8 anni fa
kallestenflo
c97d8f2d14
Merge pull request #347 from jochenberger/patch-1
...
Upgrade tapestry-json to 5.4.2
8 anni fa
kallestenflo
db979e3bb8
Merge pull request #346 from bryant1410/master
...
Fix broken headings in Markdown files
8 anni fa
jochenberger
389fafe700
Upgrade tapestry-json to 5.4.2
8 anni fa
Santiago Castro
0cc0b7d58f
Fix broken Markdown headings
8 anni fa
Kalle Stenflo
4c64ec2532
Make ParseContext from JsonPath.using thread safe #187
8 anni fa
kallestenflo
c23b301b46
Update README.md
8 anni fa
kallestenflo
c618732f16
Update README.md
8 anni fa
kallestenflo
680e0277b3
Merge pull request #314 from jochenberger/use-json-smart-for-query-parsing
...
use json-smart to parse the query
8 anni fa
Kalle Stenflo
e10c47b7f9
Accept URLs as input but deprecate URL methods #218 .
8 anni fa
kallestenflo
b0a2b65697
Merge pull request #332 from jochenberger/patch-2
...
FIx typo in exception message
8 anni fa
kallestenflo
475a184ff1
Merge pull request #335 from mgreenwood1001/Issue234
...
Fix for Issue #234 - Late Binding for Function Parameters
8 anni fa
Greenwood
73a97c3d5e
removing created by
8 anni fa
Greenwood
bb682179c2
replacing space with tabs, IDE formatting issue
8 anni fa
Greenwood
e8199bd93d
addressing @jochenberger's code review comments, Created by... is IntelliJ auto-creation -- added Apache license headers
8 anni fa
kallestenflo
0415bdeb15
Merge pull request #317 from jochenberger/patch-3
...
Upgrade SLF4J
8 anni fa
Jochen Berger
3474c9e80a
adapt test
8 anni fa
jochenberger
6b57f766c3
Merge branch 'master' into patch-3
8 anni fa
jochenberger
1cb9509a6b
Merge branch 'master' into use-json-smart-for-query-parsing
8 anni fa
Kalle Stenflo
794d1fcb55
Added copyright date and company #251 .
8 anni fa
Kalle Stenflo
7f77428923
Added provided tests for issue #275 .
8 anni fa
kallestenflo
32573abffe
Merge pull request #334 from jochenberger/upgrade-json-smart
...
upgrade json-smart dependency
8 anni fa
mattg
6b45f7e50f
missed one file, removed args
8 anni fa
mattg
fd6f8a6f3e
removing dead constructor arg
8 anni fa
mattg
4b19669222
removing commented out code
8 anni fa
mattg
760abf2a39
update of javadoc
8 anni fa
mattg
ceda040d29
update of javadoc
8 anni fa
mattg
e0eb000973
removing unused import
8 anni fa
mattg
76cb105d4a
removing unused import - fixing 2nd call to get() to avoid recomputation
8 anni fa
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 anni fa
Jochen Berger
26bd6031b7
upgrade json-smart dependency
8 anni fa
jochenberger
ef712d329b
FIx typo in exception message
8 anni fa
Kalle Stenflo
4d88801566
Added test for issue 309.
8 anni fa
kallestenflo
e0231f0a15
Merge pull request #331 from jochenberger/fix-json-org-provider
...
fix result if object does not contain key (fixes #270 )
8 anni fa
jochenberger
f118637519
Better approach
8 anni fa
Jochen Berger
32a0a5294b
fix result if object does not contain key ( fixes #270 )
8 anni fa
jochenberger
41be671609
Restore accidentally removed line
8 anni fa
kallestenflo
b1732ff8ed
Merge pull request #330 from jochenberger/patch-1
...
Fix JSON detection
8 anni fa
jochenberger
0b9900ef66
Use json-smart to detect whether the String is JSON
8 anni fa
jochenberger
3b6a662c9b
Add test
8 anni fa
jochenberger
fcfd849e83
Fix JSON detection
8 anni fa
kallestenflo
3068c80979
Merge pull request #329 from jochenberger/negative-array-index
...
Add support for negative array indexes
8 anni fa
Jochen Berger
571fae5ccd
add example for negative array index
8 anni fa
Jochen Berger
40dac9fa73
support negative array indexes
8 anni fa
kallestenflo
d3afea5036
Merge pull request #328 from jochenberger/patch-8
...
Don't create appender when not needed, remove unused variable declation
8 anni fa
jochenberger
517ec8a66c
Don't create appender when not needed, remove unused variable declaration
8 anni fa
kallestenflo
826c5a10e4
Merge pull request #327 from jochenberger/speed-up-filter-compiler
...
avoid some costly calls to String#trim()
8 anni fa
Jochen Berger
e7ac1e60d1
avoid some costly calls to String#trim()
8 anni fa
jochenberger
3bf74613fd
Merge branch 'master' into use-json-smart-for-query-parsing
8 anni fa