private static void addBooleansStats(ColumnStatisticsData statistics, Map<String, Object> result) {
    if (statistics.getBooleanStats().isSetNumNulls()) {
      result.put(COLUMN_NUM_NULLS, statistics.getBooleanStats().getNumNulls());
    }
    if (statistics.getBooleanStats().isSetNumTrues()) {
      result.put(COLUMN_NUM_TRUES, statistics.getBooleanStats().getNumTrues());
    }
    if (statistics.getBooleanStats().isSetNumFalses()) {
      result.put(COLUMN_NUM_FALSES, statistics.getBooleanStats().getNumFalses());
    }
  }
Formats DESC TABLE results to json format.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/formatter/JsonDescTableFormatter.java