static void visitObject(JsonParser parser, String name, Set<String> result) throws IOException {
    checkStartObject(parser, true);
    JsonToken value;
    while ((value = parser.nextValue()) != JsonToken.END_OBJECT) {
      if (value == null) {
        // End of input so ignore.
        return;
      }
      if (parser.getCurrentName().equals(name)) {
        result.add(parser.getText());
      } else {
        visitNextOrSkip(parser, name, result);
      }
    }
  }
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