1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

📝 added example for sax_parse

This commit is contained in:
Niels Lohmann
2018-08-18 15:42:18 +02:00
parent 5ad52f4167
commit c6a482b16c
6 changed files with 137 additions and 2 deletions

View File

@ -17157,7 +17157,7 @@ class basic_json
@param[in] format the format to parse (JSON, CBOR, MessagePack, or UBJSON)
@param[in] strict whether the input has to be consumed completely
@return result of the deserialization
@return return value of the last processed SAX event
@throw parse_error.101 if a parse error occurs; example: `""unexpected end
of input; expected string literal""`
@ -17170,6 +17170,9 @@ class basic_json
@note A UTF-8 byte order mark is silently ignored.
@liveexample{The example below demonstrates the `sax_parse()` function
reading from string.,sax_parse}
@since version 3.2.0
*/
template <typename SAX>