diff --git a/doc/mkdocs/docs/api/json.md b/doc/mkdocs/docs/api/json.md index 0aff6d2c0..ac26bc025 100644 --- a/doc/mkdocs/docs/api/json.md +++ b/doc/mkdocs/docs/api/json.md @@ -3,3 +3,10 @@ ```cpp using json = basic_json<>; ``` + +This type is the default specialization of the [basic_json](basic_json/index.md) class which uses the standard template +types. + +## Version history + +Since version 1.0.0. diff --git a/doc/mkdocs/docs/api/ordered_json.md b/doc/mkdocs/docs/api/ordered_json.md index 8ce8dfe3e..873f68b20 100644 --- a/doc/mkdocs/docs/api/ordered_json.md +++ b/doc/mkdocs/docs/api/ordered_json.md @@ -3,3 +3,13 @@ ```cpp using ordered_json = basic_json; ``` + +This type preserves the insertion order of object keys. + +## See also + +- [ordered_map](ordered_map.md) + +## Version history + +Since version 3.9.0. diff --git a/doc/mkdocs/docs/features/parsing/sax_interface.md b/doc/mkdocs/docs/features/parsing/sax_interface.md index 731534826..9510be6da 100644 --- a/doc/mkdocs/docs/features/parsing/sax_interface.md +++ b/doc/mkdocs/docs/features/parsing/sax_interface.md @@ -66,3 +66,8 @@ To implement your own SAX handler, proceed as follows: 3. Call `#!cpp bool json::sax_parse(input, &my_sax);` where the first parameter can be any input like a string or an input stream and the second parameter is a pointer to your SAX interface. Note the `sax_parse` function only returns a `#!cpp bool` indicating the result of the last executed SAX event. It does not return `json` value - it is up to you to decide what to do with the SAX events. Furthermore, no exceptions are thrown in case of a parse error - it is up to you what to do with the exception object passed to your `parse_error` implementation. Internally, the SAX interface is used for the DOM parser (class `json_sax_dom_parser`) as well as the acceptor (`json_sax_acceptor`), see file `json_sax.hpp`. + +## See also + +- [json_say](../../api/json_sax/index.md) - documentation of the SAX interface +- [sax_parse](../../api/basic_json/sax_parse.md) - SAX parser