mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
JSON Refactor - compound type support
This commit is contained in:
@@ -26,7 +26,7 @@ public class TestTextJsonInheritance extends BaseTestCase {
|
||||
Assert.assertEquals(2, list.size());
|
||||
|
||||
JsonContext jsonContext = Ebean.createJsonContext();
|
||||
String jsonString = jsonContext.toJsonString(list, true);
|
||||
String jsonString = jsonContext.toJsonString(list);
|
||||
System.out.println(jsonString);
|
||||
|
||||
List<Vehicle> rebuiltList = jsonContext.toList(Vehicle.class, jsonString);
|
||||
|
||||
Reference in New Issue
Block a user