mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#585 - Refactor of ScalarType jsonWrite() method such that it only takes JsonGenerator - part 3, remove JsonToken from jsonRead()
This commit is contained in:
1 parent
a4f0e3936a
commit
c315067ff0
37 files changed
+108
-50
No files matched your search
@@ -1262,7 +1262,7 @@ public class BeanProperty implements ElPropertyValue, Property {
|
||||
// expect to read non-null json value
|
||||
Object objValue;
|
||||
if (scalarType != null) {
|
||||
objValue = scalarType.jsonRead(ctx.getParser(), event);
|
||||
objValue = scalarType.jsonRead(ctx.getParser());
|
||||
} else {
|
||||
try {
|
||||
objValue = ctx.readValueUsingObjectMapper(propertyType);
|
||||
|
||||
Reference in new issue
Block a user