code: public void writeObjectInstanceArray(OutputStream out, ObjectInstanceWrapper[] value) throws IOException {
          writeStartArray(out);
          for (ObjectInstanceWrapper item : value) {
              writeArrayItem(out);
              writeObjectInstance(out, item);
          }
          writeEndArray(out);
      }
docs: Encode an ObjectInstanceWrapper array as JSON:
  [ ObjectInstanceWrapper* ]
  
  @param out The stream to write JSON to
  @param value The ObjectInstanceWrapper array to encode. Can't be null.
  And none of its entries can be null.
  @throws IOException If an I/O error occurs
  @see #readObjectInstances(InputStream)
  @see #writeObjectInstance(OutputStream, ObjectInstanceWrapper)