JObject patientinfo = new JObject();
patientinfo["start_time"] = kssj;
patientinfo["end_time"] = jssj;
patientinfo["device_ids"] = device_ids;
patientinfo["threshold"] = 15;
patientinfo["top_k"] = 10;
patientinfo["algorithm_vendors"] = algorithm_vendors;
patientinfo["image"] = usermacs[0]["MACJH"].ToString();
string sendData = JsonConvert.SerializeObject(patientinfo);
相关文章
- 06-30C++中int转为char 以及int 转为string和string 转int和空格分隔字符串
- 06-30photo型的object转byte[]
- 06-30文件转PDF时报错Can't co-create object
- 06-30C# 字符串string和内存流MemoryStream及比特数组byte[]之间相互转换
- 06-30BigDecimal转String
- 06-30String数据类型比较:== 和 equals(Object anObject)的区别
- 06-30List<Map<String,Object>> list = new ArrayList<Map<String,Object>>();
- 06-30object对象转objectToJson json转pojo jsonToPojo json转集合 jsonToList
- 06-30servletContext.getRealPath(String)作用(转)
- 06-30String.getBytes()--->字符串转字节数组