public XContentBuilder endArray() throws IOException {
        json.writeEndArray();
        return this;
    }
End the current array.
@throws IOException
manager/api/es/src/main/java/io/apiman/manager/api/es/util/XContentBuilder.java