JsonUtil

//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.sprucetec.datacenter.util;

import com.fasterxml.jackson.databind.ObjectMapper;

public class JsonUtil {
    private static ObjectMapper json;

    public JsonUtil() {
    }

    public static ObjectMapper createJson() {
        if(json == null) {
            Class var0 = JsonUtil.class;
            synchronized(JsonUtil.class) {
                if(json == null) {
                    json = new ObjectMapper();
                }
            }
        }

        return json;
    }
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章