mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
json 初步支持
This commit is contained in:
parent
0133944c0b
commit
d25674a9ef
@ -170,7 +170,17 @@ Type: `xml`
|
||||
|
||||
###json消息支持
|
||||
|
||||
json中的","逗号,需要转义成`,`,否则无法正确得到解析
|
||||
json中的字符串需要进行转义:
|
||||
|
||||
>","=>`,`、
|
||||
|
||||
>"&"=> `&`、
|
||||
|
||||
>"["=>`[`、
|
||||
|
||||
>"]"=>`]`、
|
||||
|
||||
否则无法正确得到解析
|
||||
|
||||
## API
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user