@Test public void testWritePropertyWithArrayPropertyEmptyValue() throws IOException { Type type = new ListTypeImpl(SCHEMA_NAME, "strings", StringType.INSTANCE); testWriteProperty(JSONPropertyWriter.create(), type, new ArrayList<>(), "{\"property\":[]}"); }
public static JSONPropertyWriter create() { return new JSONPropertyWriter(); }
JSONPropertyWriter { public static JSONPropertyWriter create() { return new JSONPropertyWriter(); } }
JSONPropertyWriter { public static JSONPropertyWriter create() { return new JSONPropertyWriter(); } protected  JSONPropertyWriter(); protected  JSONPropertyWriter(JSONPropertyWriter writer); }
JSONPropertyWriter { public static JSONPropertyWriter create() { return new JSONPropertyWriter(); } protected  JSONPropertyWriter(); protected  JSONPropertyWriter(JSONPropertyWriter writer); static JSONPropertyWriter create(); JSONPropertyWriter dateTimeFormat(DateTimeFormat dateTimeFormat); JSONPropertyWriter filesBaseUrl(String filesBaseUrl); JSONPropertyWriter prefix(String prefix); JSONPropertyWriter writeNull(boolean writeNull); JSONPropertyWriter writeEmpty(boolean writeEmpty); void writeProperty(JsonGenerator jg, Property prop); static void writePropertyValue(JsonGenerator jg, Property prop, DateTimeFormat dateTimeFormat,
            String filesBaseUrl); }
JSONPropertyWriter { public static JSONPropertyWriter create() { return new JSONPropertyWriter(); } protected  JSONPropertyWriter(); protected  JSONPropertyWriter(JSONPropertyWriter writer); static JSONPropertyWriter create(); JSONPropertyWriter dateTimeFormat(DateTimeFormat dateTimeFormat); JSONPropertyWriter filesBaseUrl(String filesBaseUrl); JSONPropertyWriter prefix(String prefix); JSONPropertyWriter writeNull(boolean writeNull); JSONPropertyWriter writeEmpty(boolean writeEmpty); void writeProperty(JsonGenerator jg, Property prop); static void writePropertyValue(JsonGenerator jg, Property prop, DateTimeFormat dateTimeFormat,
            String filesBaseUrl);  }