public static String toJSON(BlockCache bc) throws IOException {
    return GSON.toJson(bc);
  }
Returns JSON string of <code>bc</code> content.
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java