异常:Unquotted string 'f00'
String insCode = "f00";
String s = "{"
+ "insCode:"+insCode+","
+ "serviceAmount:22.1,"
+ "netProportion:2.21,"
+ "serIncome:12.1"
+ "}";
在做json解析的时候,报错:Unquotted string 'f00'
因为inscode是字符串,
原创
2017-05-16 10:02:49 ·
4905 阅读 ·
0 评论