All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tgtools.excel.util.JsonUtil Maven / Gradle / Ivy

package tgtools.excel.util;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.ObjectNode;

/**
 * @author 田径
 * @Title
 * @Description
 * @date 14:25
 */
public class JsonUtil {
    private static ObjectMapper mObjectMapper =new ObjectMapper();

    public static ObjectNode getEmptyObjectNode()
    {
        return mObjectMapper.createObjectNode();
    }
    public static ArrayNode getEmptyArrayNode()
    {
        return mObjectMapper.createArrayNode();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy