#585 - Refactor of ScalarType jsonWrite() method such that it only takes JsonGenerator - part 2, use JsonGenerator

This commit is contained in:
Robin Bygrave committed 2016-03-03 20:27:13 +13:00
1 parent fc96685ed0
commit a4f0e3936a
38 files changed
+115 -110

No files matched your search

@@ -1244,7 +1244,7 @@ public class BeanProperty implements ElPropertyValue, Property {
} else {
if (scalarType != null) {
writeJson.writeFieldName(name);
scalarType.jsonWrite(writeJson, value);
scalarType.jsonWrite(writeJson.gen(), value);
} else {
writeJson.writeValueUsingObjectMapper(name, value);
}