code: public void skipValue() throws IOException {
          skipping = true;
          try {
              int count = 0;
              do {
                  JsonToken token = advance();
                  if (token == JsonToken.BEGIN_ARRAY || token == JsonToken.BEGIN_OBJECT) {
                      count++;
                  } else if (token == JsonToken.END_ARRAY || token == JsonToken.END_OBJECT) {
                      count--;
                  }
              } while (count != 0);
          } finally {
              skipping = false;
          }
      }
docs: Skips the next value recursively. If it is an object or array, all nested
  elements are skipped. This method is intended for use when the JSON token
  stream contains unrecognized or unhandled values.