Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Things to check
Flags
safe-html, strict-same
Loading…
|
Translation uploaded |
|
|
String added in the repository |
|
Sometimes a protocol may have a JSON text followed by data that is in a different format or specification. The JSON portion can still be parsed by using the function <<ref_parser_write_some>>. Upon success, the return value will indicate the number of characters consumed from the input, which will exclude the non-JSON characters:有时,某个协议可能在 JSON 文本之后跟随采用不同格式或规范的数据。此时仍可使用函数 <<ref_parser_write_some>> 来解析 JSON 部分。成功时,其返回值将指示从输入中消耗的字符数,该数量不包括非 JSON 的字符:</ref_parser_write_some>