@Test public void testWritePropertyWithArrayProperty() throws IOException { Type type = new ListTypeImpl(SCHEMA_NAME, "strings", StringType.INSTANCE); List<String> values = Arrays.asList("string1", "string2"); testWriteProperty(JSONPropertyWriter.create(), type, values, "{\"property\":[\"string1\",\"string2\"]}"); }
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);  }