code: public static Search fromJson(String json) {
          try {
              return JsonSerializer.fromString(json, Search.class);
          } catch (Exception e) {
              String message = String.format("Unparseable JSON search: %s", e.getMessage());
              Log.error(e, message);
              throw new IllegalArgumentException(message, e);
          }
      }
docs: Returns a new {@link Search} from the specified JSON {@code String}.
  
  @param json A JSON {@code String} representing a {@link Search}.
  @return The {@link Search} represented by the specified JSON {@code String}.