@Test public void isEmpty() { assertThat(cut.isEmpty()).isFalse(); assertThat(new DefaultJsonObject("{}").isEmpty()).isTrue(); }
@Override public boolean isEmpty() { return getJsonObject().isEmpty(); }
DefaultJsonObject implements JsonObject { @Override public boolean isEmpty() { return getJsonObject().isEmpty(); } }
DefaultJsonObject implements JsonObject { @Override public boolean isEmpty() { return getJsonObject().isEmpty(); } DefaultJsonObject(String jsonString); }
DefaultJsonObject implements JsonObject { @Override public boolean isEmpty() { return getJsonObject().isEmpty(); } DefaultJsonObject(String jsonString); @Override boolean contains(String key); @Override boolean isEmpty(); @Override List<T> getAsList(String name, Class<T> type); @Override List<String> getAsStringList(String name); @Override @Nullable String getAsString(String name); @Override @Nullable Instant getAsInstant(String name); @Nullable @Override Long getAsLong(String name); @Override @Nullable JsonObject getJsonObject(String name); @Override List<JsonObject> getJsonObjects(String name); @Override Map<String, String> getKeyValueMap(); @Override String asJsonString(); @Override String toString(); }
DefaultJsonObject implements JsonObject { @Override public boolean isEmpty() { return getJsonObject().isEmpty(); } DefaultJsonObject(String jsonString); @Override boolean contains(String key); @Override boolean isEmpty(); @Override List<T> getAsList(String name, Class<T> type); @Override List<String> getAsStringList(String name); @Override @Nullable String getAsString(String name); @Override @Nullable Instant getAsInstant(String name); @Nullable @Override Long getAsLong(String name); @Override @Nullable JsonObject getJsonObject(String name); @Override List<JsonObject> getJsonObjects(String name); @Override Map<String, String> getKeyValueMap(); @Override String asJsonString(); @Override String toString();  }