@Test(expected = JsonException.class) public void doesNotAcceptOtherThanArrayArgumentsWhenCreateJsonArray() throws Exception { JsonGenerator.createJsonArray(junitBook); }
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);  }