这个格式
string Json = "{'code':'字符2','message':'字符1','result':[ '" + 参数3 + "' ,'" + 参数2 + "', '" + 参数1 + "']}";
这个格式
string Json = "{'code':'字符2','message':'字符1','result':[ '" + 参数3 + "' ,'" + 参数2 + "', '" + 参数1 + "']}";
public static string test(String str1,String str2,int par1,double par2,int par3){
string json ="{'code':"+str2+",'message':"+str1+",'result':[ '"+par3+"' ,'"+par2+"', '"+par1+"']}"
return json;
}