code: public static SearchBuilder fromJson(String json) {
          try {
              return JsonSerializer.fromString(json, SearchBuilder.class);
          } catch (IOException e) {
              return SearchBuilderLegacy.fromJson(json);
          }
      }
docs: Returns the {@link SearchBuilder} represented by the specified JSON {@code String}.
  
  @param json the JSON {@code String} representing a {@link SearchBuilder}
  @return the {@link SearchBuilder} represented by the specified JSON {@code String}