### Question:
LazyJson implements Serializable { public boolean isParsed() { return object != null; }  static LazyJson<T> create(T object); void set(T value); T get(); String getJson(); boolean isJsonArray(); static LazyJson<?> create(Type type, String json); boolean isParsed();  }### Answer:
@Test public void testLaziness() { String json = "{\"lazyPojo\":{\"stringValue\":\"xpto\", \"longValue\":100}}"; BasicObject object = JsonUtils.from(yawp, json, BasicObject.class); assertFalse(object.getLazyPojoAsLazyJson().isParsed()); assertEquals("xpto", object.getLazyPojo().getStringValue()); assertTrue(object.getLazyPojoAsLazyJson().isParsed()); }