JSON日期格式处理

protected static SerializeConfig mapping = new SerializeConfig();

    private static String dateFormat;
    static {
        dateFormat = "yyyy-MM-dd HH:mm:ss";
        mapping.put(Date.class, new SimpleDateFormatSerializer(dateFormat));
    }
原文地址:https://www.cnblogs.com/james-roger/p/5382450.html