code: public JsonWriter beginArray(String arrayName) throws IOException {
        writeName(arrayName);
        writer.beginArray();
        writeStack.add(JsonTokenType.BEGIN_ARRAY);
        return this;
     }
docs: Begins a new array with given name
  
  @param arrayName the name
  @return This structured writer
  @throws IOException Something went wrong writing