public static Filter buildFilter(String s) throws Exception {
    FilterModel model =
      getJasonProvider().locateMapper(FilterModel.class, MediaType.APPLICATION_JSON_TYPE)
        .readValue(s, FilterModel.class);
    return model.build();
  }
@param s the JSON representation of the filter
@return the filter
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/ScannerModel.java