@Test public void convertsNullArrayToJson() throws Exception { JsonValue jsonValue = JsonGenerator.createJsonArray((Object)null); assertTrue(jsonValue.isNull()); }
public static JsonValue createJsonArray(Collection<?> collection) throws JsonException { if (collection == null) { return new NullValue(); } return createJsonValue(collection, COLLECTION); }
JsonGenerator { public static JsonValue createJsonArray(Collection<?> collection) throws JsonException { if (collection == null) { return new NullValue(); } return createJsonValue(collection, COLLECTION); } }
JsonGenerator { public static JsonValue createJsonArray(Collection<?> collection) throws JsonException { if (collection == null) { return new NullValue(); } return createJsonValue(collection, COLLECTION); }  }
JsonGenerator { public static JsonValue createJsonArray(Collection<?> collection) throws JsonException { if (collection == null) { return new NullValue(); } return createJsonValue(collection, COLLECTION); }  static JsonValue createJsonArray(Collection<?> collection); static JsonValue createJsonArray(Object array); static JsonValue createJsonObjectFromMap(Map<String, ?> map); static JsonValue createJsonObject(Object object); }
JsonGenerator { public static JsonValue createJsonArray(Collection<?> collection) throws JsonException { if (collection == null) { return new NullValue(); } return createJsonValue(collection, COLLECTION); }  static JsonValue createJsonArray(Collection<?> collection); static JsonValue createJsonArray(Object array); static JsonValue createJsonObjectFromMap(Map<String, ?> map); static JsonValue createJsonObject(Object object);  }