mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-28 23:28:55 +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
@@ -41,7 +41,7 @@ public class TestJsonExcludeEmptyMap {
|
||||
|
||||
String asJson = Ebean.json().toJson(bean, options);
|
||||
|
||||
String expectedJson = "{\"id\":99}";
|
||||
String expectedJson = "{\"id\":99,\"content\":{}}";
|
||||
|
||||
assertEquals(expectedJson, asJson);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user