private static void addDecimalStats(ColumnStatisticsData statistics, Map<String, Object> result) {
    if (statistics.getDecimalStats().isSetLowValue()) {
      result.put(COLUMN_MIN, ShowUtils.convertToString(statistics.getDecimalStats().getLowValue()));
    }
    if (statistics.getDecimalStats().isSetHighValue()) {
      result.put(COLUMN_MAX, ShowUtils.convertToString(statistics.getDecimalStats().getHighValue()));
    }
    if (statistics.getDecimalStats().isSetNumNulls()) {
      result.put(COLUMN_NUM_NULLS, statistics.getDecimalStats().getNumNulls());
    }
    if (statistics.getDecimalStats().isSetNumDVs()) {
      result.put(COLUMN_DISTINCT_COUNT, statistics.getDecimalStats().getNumDVs());
    }
  }
Formats DESC TABLE results to json format.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/formatter/JsonDescTableFormatter.java