static void visitNextOrSkip(JsonParser parser, String name, Set<String> result)
    throws IOException {
    switch (parser.currentToken()) {
      case START_ARRAY:
        JsonToken token;
        while ((token = parser.nextToken()) != JsonToken.END_ARRAY) {
          if (token == null) {
            // End of input so ignore.
            return;
          }
          visitObject(parser, name, result);
        }
        break;
      case START_OBJECT:
        visitObject(parser, name, result);
        break;
      default:
        // Skip current value.
    }
  }
Navigates to a field of a JSON-serialized object. For example,

<pre>{@code
JsonParser status = enterPath(JsonAdapters.jsonParser(stream), "message", "status");
if (status != null) throw new IllegalStateException(status.nextString());
}</pre>
zipkin-storage/elasticsearch/src/main/java/zipkin2/elasticsearch/internal/JsonReaders.java