Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在通过 JSONArray 发送消息,但收到响应代码 500。原因是我的消息字符串包含字符“\”。
字符串 s="苹果 $54\KG"
反斜杠是转义字符。改为使用\\。还有一个JSON.stringify功能可能会有所帮助。
\\
JSON.stringify
GSM 不支持反斜杠字符。