private void closeFieldArray() throws IOException {
        if (arrayFieldOpen) {
            jg.writeEndArray();
            arrayFieldOpen = false;
        }
    }
Closes the current field array if one is open.
@throws IOException
manager/api/migrator/src/main/java/io/apiman/manager/api/migrator/JsonDataMigratorWriter.java