@Test
void serializeNestedOrgJsonArrayWorks()
{

    org.json.JSONArray array = new org.json.JSONArray();
    array.put("a");
    array.put(42);
    array.put(true);
    Map<String, Object> map = new LinkedHashMap<>();
    map.put("before", Collections.singletonList("nothing"));
    map.put("json", array);
    map.put("after", 42);
    assertEquals("{\"before\":[\"nothing\"],\"json\":[\"a\",42,true],\"after\":42}",
        this.tool.serialize(map));
}