如何将json字符串转换为mysql中的mysql行?
"21283":{"count":82,"price":444},"21158":{"count":178,"price":414},"21281":{"count":157,"price":216},"21165":{"count":132,"price":858},"21284":{"count":99,"price":407},"21175":{"count":60,"price":1650},"21282":{"count":50,"price":1440},"21168":{"count":14,"price":4715},"21280":{"count":22,"price":1625}
对此有什么解决办法吗?
答案 0 :(得分:1)
根据您的评论,听起来这就是您想要做的:
if ((c = getchar()) == '\t'){