com.admin4j.json.JacksonConvertor Maven / Gradle / Ivy
package com.admin4j.json;
import com.admin4j.json.mapper.JSONArrayMapper;
import com.admin4j.json.mapper.JSONMapper;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ArrayNode;
import lombok.Data;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* https://blog.csdn.net/agonie201218/article/details/125966380
*
* @author andanyang
* @since 2023/5/5 13:47
*/
@Data
public class JacksonConvertor implements JSONConvertor {
TypeReference
© 2015 - 2025 Weber Informatics LLC | Privacy Policy