void applyInServerResponse(string json) { Dictionary <string, object> resp = DeserializeJson <Dictionary <string, object> >(json); int id = int.Parse(resp["id"].ToString()); print(id); Dictionary <string, string> param = new Dictionary <string, string>(); param.Add("id", id.ToString()); param.Add("project_name", resp["name"].ToString()); ButtonListener but = gameObject.GetComponent <ButtonListener>(); but.setParams(param); but.SendToDispatch(); }