shikeying
2024-04-07 52c8ee3120e4a44e48e217bced6f6c799ff7980c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.ishop.merchant.util;
 
//import com.fasterxml.jackson.dataformat.xml.XmlMapper;
 
@Deprecated
public class XmlUtils {
 
//    private static final ObjectMapper mapper = new XmlMapper();
 
    public static final String toXmlString(Object javaObject) throws Exception{
//        return mapper.writeValueAsString(javaObject);
        //XML格式转换为Java对象
//        ObjectMapper mapper = new XmlMapper();
//        Obj obj = mapper.readValue(xmlString, Obj.class);
        return null;
    }
}