code: public JSONWriter arrayEnd() throws IOException {
          writer.write(JSON.RSQUARE);
          state = stack.pop();
          return this;
      }
docs: array end, return array value.
  
  @return this.
  @throws IOException.