@Test
public void testConvertJsonArrayWithManyObjects() {

    String spec = "{\"foo\": 1, \"bar\": true, \"car\": [\"a\", 1, 2]}";
    int count = Random.getScaleCount();
    String json = "[";
    for (int i = 0; i < count; i++) {
        json += spec + ",";
    }
    json += "]";
    json = json.replace(",]", "]");
    List<Multimap<String, Object>> data = Convert.anyJsonToJava(json);
    Assert.assertEquals(count, data.size());
}