@Test public void testIsSerializingEmptyLists() { JsonPrinter serializeEmpty = new JsonPrinter(true); JsonPrinter serializeEmptyNot = new JsonPrinter(); assertTrue(serializeEmpty.isSerializingEmptyLists()); assertFalse(serializeEmptyNot.isSerializingEmptyLists()); }
public boolean isSerializingEmptyLists() { return serializeEmptyLists; }
JsonPrinter { public boolean isSerializingEmptyLists() { return serializeEmptyLists; } }
JsonPrinter { public boolean isSerializingEmptyLists() { return serializeEmptyLists; } JsonPrinter(boolean serializeEmptyLists);  JsonPrinter(); }
JsonPrinter { public boolean isSerializingEmptyLists() { return serializeEmptyLists; } JsonPrinter(boolean serializeEmptyLists);  JsonPrinter(); static boolean isIndentationEnabled(); static void enableIndentation(); static void disableIndentation(); boolean isSerializingEmptyLists(); boolean isInObject(); void beginObject(); void beginObject(String kind); void endObject(); void beginArray(String kind); void beginArray(); void endArray(); void array(String name, Collection<T> values, Function<T, String> printValue); void array(Collection<T> values, Function<T, String> printValue); void member(String kind, Collection<String> values); void member(String kind, Optional<String> value); void member(String kind, double value); void member(String kind, long value); void member(String kind, float value); void member(String kind, int value); void member(String kind, boolean value); void member(String kind, String value); void memberJson(String kind, String value); void member(String kind, JsonPrinter value); void value(double value); void value(long value); void value(float value); void value(int value); void value(boolean value); void value(String value); void valueJson(String value); void value(JsonPrinter value); void clearBuffer(); String getContent(); @Override String toString(); }
JsonPrinter { public boolean isSerializingEmptyLists() { return serializeEmptyLists; } JsonPrinter(boolean serializeEmptyLists);  JsonPrinter(); static boolean isIndentationEnabled(); static void enableIndentation(); static void disableIndentation(); boolean isSerializingEmptyLists(); boolean isInObject(); void beginObject(); void beginObject(String kind); void endObject(); void beginArray(String kind); void beginArray(); void endArray(); void array(String name, Collection<T> values, Function<T, String> printValue); void array(Collection<T> values, Function<T, String> printValue); void member(String kind, Collection<String> values); void member(String kind, Optional<String> value); void member(String kind, double value); void member(String kind, long value); void member(String kind, float value); void member(String kind, int value); void member(String kind, boolean value); void member(String kind, String value); void memberJson(String kind, String value); void member(String kind, JsonPrinter value); void value(double value); void value(long value); void value(float value); void value(int value); void value(boolean value); void value(String value); void valueJson(String value); void value(JsonPrinter value); void clearBuffer(); String getContent(); @Override String toString();  }