com.dahuatech.icc.multiinone.utils.ResponseDataUtils Maven / Gradle / Ivy
The newest version!
package com.dahuatech.icc.multiinone.utils;
import com.dahuatech.hutool.json.JSONObject;
import com.dahuatech.hutool.json.JSONUtil;
import com.dahuatech.icc.oauth.model.v202010.GeneralResponse;
public class ResponseDataUtils {
public static String getDataStr(String result){
JSONObject jsonObject = JSONUtil.parseObj(result);
return jsonObject.getStr("data");
}
}