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 1, remove field name
This commit is contained in:
1 parent
5b10d06348
commit
fc96685ed0
43 files changed
+105
-111
No files matched your search
@@ -1243,7 +1243,8 @@ public class BeanProperty implements ElPropertyValue, Property {
|
||||
writeJson.writeNullField(name);
|
||||
} else {
|
||||
if (scalarType != null) {
|
||||
scalarType.jsonWrite(writeJson, name, value);
|
||||
writeJson.writeFieldName(name);
|
||||
scalarType.jsonWrite(writeJson, value);
|
||||
} else {
|
||||
writeJson.writeValueUsingObjectMapper(name, value);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user