Leonid
ae253ab049
Fix possible StackOverflowError in Jakarta provider ( #781 )
3 years ago
Richard Startin
921d3bc984
expose JSON providers ability to parse UTF-8 byte arrays ( #770 )
3 years ago
Leonid
be070ec2c0
Jakarta EE 9 JSON-P/JSON-B provider ( #734 )
...
* Add support for JSON-P API (JSR 374)
* Add support for JSON-B API (JSR 367)
* Fix Jakarta EE 9 breaking unit tests
* Remove Import-Package instr for JSON-P/JSON-B implementations
* Fix whitespace in unit test classes
* Proxy JSON-P objects and arrays to add mutability
* Update project README for Jakarta JSON providers
Co-authored-by: Leonid Malikov <leonid@percival.co.uk>
3 years ago
Richard Startin
491dfbc15e
Cache access tweaks ( #750 )
...
* don't create new cache key when there are no filters, just use the path
* fix non volatile double checked locking cache initialisation, replace with variant of holder pattern
3 years ago
Pigdrum
7384e960c7
Fix Issue #497 and add a testcase ( #699 )
...
* The method getPropertyKeys() in class JsonOrgJsonProvider doesn't check empty jsonObject.
* Addition testcase
* simplify the implementation. And change method names of testcases to something more descriptive
* change names
3 years ago
Alanscut
6ff06c21d0
improve number type
5 years ago
Alanscut
f2aa9f8153
add BigInteger
5 years ago
Alanscut
eef677ab60
fix for issue #582
5 years ago
Alanscut
ca1ac4bf85
change repeated BigDecimal to BigInteger
5 years ago
maxxyme
afe4d0acca
Useless logger removed
5 years ago
maxxyme
8181b7aa26
GsonJsonProvider has nothing to do here in the Logger
5 years ago
Kalle Stenflo
4bdf9b7bdc
bump dependency versions and fix build issues
6 years ago
Elias Ross
bb0853fb5e
Various warning clean-ups from IntelliJ
...
Split ValueNode into a separate class to avoid possible race-condition in class loading.
Modified ArrayPathToken to be super-class of ArrayIndex/ArraySlice token
because IntelliJ warned about null pointer exception possibilities.
Removed redundant boolean checks.
Removed use of StringBuffer -> StringBuilder.
Removed dangling ;
6 years ago
Sam Kruglov
f7dc9280c7
Log the nested exception as well
...
why not
7 years ago
Jochen Berger
a71023c650
fix setting a POJO as a value using JacksonJsonNodeJsonProvider ( fixes #364 )
7 years ago
Jochen Berger
78befbb5ee
`null` should be mapped to `null` ( fixes #351 )
7 years ago
jochenberger
e5a921f9f1
Fix cast
7 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
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
8 years ago
jmlamare
e5f210f6a1
Jettison Integration
8 years ago
jmlamare
d2a6e7b29b
Add support for Jettison
8 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
Kevin Conaway
f077bbb97d
#200 Add support for BigInteger to JsonSmartMappingProvider
9 years ago
Spyridon Papadopoulos
18ff41336f
Updated GsonJsonProvider using also a customized Gson object.
9 years ago
Kalle Stenflo
3de1137b92
Document context set method produces unexpected results for arrays #170
9 years ago
Matthew J Greenwood
e6d2546c42
removed getLastElement
9 years ago
Matthew J Greenwood
01bdbe2cc3
fixing broken tests
...
changing format of functions path expr with/without args
removing errant unwrap call - added to test
9 years ago
Matthew J Greenwood
b919644425
adds an example for HttpLoading via getjson (not intended to be merged, just an example) also fixes bug #164 min/max providing wrong value
9 years ago
Kalle Stenflo
ac83feea14
Improved escape handling and fixed JsonValueNode issue.
9 years ago
Jochen Berger
4d6d4f46a8
add support for Tapestry JSON
9 years ago
Kalle Stenflo
fdc4e020d2
Fixed version issue.
9 years ago
Kalle Stenflo
cb2795b38c
Added JsonOrgJsonProvider.
9 years ago
Kalle Stenflo
ebd19526d8
Code cleanup.
9 years ago
Kalle Stenflo
3adc04bd13
Made write features JsonProvider neutral.
9 years ago
Kalle Stenflo
fc746d78e6
Stricter configuration of CacheProvide.
9 years ago
Kalle Stenflo
179a818418
Minor cache fixes.
9 years ago
gauravgupta
bf33697891
Externalized the cache using CacheProvider spi.
...
Set the CacheProvider in the Configuration:
Configuration
.builder()
.mappingProvider(new <<Implementation of mapping provider>>)
.jsonProvider(new <<Implementation of JsonProvider>>)
.cacheProvider(new <<implementation of CacheProvider>>)
.build();
9 years ago
Archimedes Trajano
0f3d143fa9
Remove unused logger from class
...
The logger is not used in this class. Might as well remove it.
9 years ago
Archimedes Trajano
b79f0550a2
Store problematic JSON in exception
...
Rather than logging the JSON that is problematic store it as part of the exception. Remove the logger since it is no longer being used.
9 years ago
Archimedes Trajano
cba33fba05
Store problematic JSON in exception
...
Rather than logging the JSON that is problematic store it as part of the exception. Remove the logger since it is no longer being used.
9 years ago
Archimedes Trajano
724565dca6
Remove unused logger from class
...
The logger is not used in this class. Might as well remove it.
9 years ago
Jochen Berger
a048edb1cb
consistently use setArrayIndex for arrays instead of setProperty
9 years ago
Jochen Berger
77583725b4
Only arrays will be passed to JsonProvider.toIterable(Object) anyway
9 years ago
Tamas Adam
48544d14ab
Fix for list element removel if multiple path elements match.
10 years ago
Kalle Stenflo
4de672c705
Replaced Factory interface with Callable.
10 years ago
Kalle Stenflo
1735bc7a87
Removed deprecated classes and some minor fixes.
10 years ago