#585 - Refactor of ScalarType jsonWrite() method such that it only takes JsonGenerator - part 3, remove JsonToken from jsonRead()

This commit is contained in:
Robin Bygrave committed 2016-03-03 21:06:09 +13:00
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);