docs: public static SearchBuilder fromJson(String json) {
          try {
              return JsonSerializer.fromString(json, SearchBuilder.class);
          } catch (IOException e) {
              return SearchBuilderLegacy.fromJson(json);
          }
      }