package com.example.youfang;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.*;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* JSONUtil
*
* @author
* @date 2018/07/19
*/
public class JSONUtil {
public static String abc="{\"header\":{\"version\":\"1.0\",\"transType\":\"W387\",\"submitTime\":\"20180717092002\",\"sessionId\":null,\"clientTraceNo\":\"201807170500001839518200\",\"hostTime\":\"20180717091904\",\"hostTraceNo\":\"8500b868-bbfe-4236-825f-075598aa3f97\",\"returnCode\":\"0000\",\"merchantId\":\"182000899000001\",\"terminalId\":null,\"returnMessage\":\"交易成功\",\"transDirect\":null,\"signMessage\":\"\"},\"body\":{\"hostS
Java 解析多层级json 为map的简单方法 list-list 无法解析
最新推荐文章于 2024-07-14 03:10:22 发布