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