#585 - Refactor of ScalarType jsonWrite() method such that it only takes JsonGenerator - part 1, remove field name

This commit is contained in:
Robin Bygrave committed 2016-03-03 19:51:07 +13:00
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);
}