|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxinmy.weixin4j.xml.ListsuffixResultSerializer
public class ListsuffixResultSerializer
对 后缀为_$n 的 xml节点序列化
| Constructor Summary | |
|---|---|
ListsuffixResultSerializer()
|
|
| Method Summary | |
|---|---|
static Map<String,String> |
listsuffixConvertMap(List<?> listsuffix)
list对象转换为map的$n形式 |
static com.alibaba.fastjson.JSONObject |
serializeToJSON(Object object)
序列化为json |
static String |
serializeToXML(Object object)
序列化为xml |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListsuffixResultSerializer()
| Method Detail |
|---|
public static com.alibaba.fastjson.JSONObject serializeToJSON(Object object)
object -
public static Map<String,String> listsuffixConvertMap(List<?> listsuffix)
listsuffix -
public static String serializeToXML(Object object)
object -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||