Object object2 = ois.readObject();
assertTrue(object.equals(object2));
}
public void shouldPutBuilder() {
JsonBuilder builder = object().put("foo", "bar");
JsonObject object1 = object().put("foobar",builder).get();
JsonObject object2 = new JsonObject();
object2.put("foobar", builder);
JsonObject object3 = new JsonObject();
object3.put("foobar", fromObject(builder));