json --> map
import com.alibaba.fastjson.JSON;
String json = "{"username":"hkdcust6.18-1",
"time":"20190712104030",
"sign":"50fe38ec36492f5e13bbf5a1027388ab"}";
HashMap hashMap = JSON.parseObject(paramValue, HashMap.class);
json --> bean
import com.google.gson.Gson ;
Gson gson = new Gson();
ScAuth scAuth = gson.fromJson(scAuth_json, ScAuth.class);
bean --> json
import com.google.gson.Gson ;
Gson gson = new Gson();
String scAuth_json = gson.toJson(scAuth);