From c2cff2254a903beb93ea5b434b000dca28f870c5 Mon Sep 17 00:00:00 2001 From: sehe Date: Tue, 7 Jun 2022 00:29:43 +0200 Subject: [PATCH] Remove mention of Boost Property Tree Fix #2445 Passing mention in documentation could suggest the more apt new boost library (since 1.75.0) --- doc/qbk/04_http/09_custom_body.qbk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/qbk/04_http/09_custom_body.qbk b/doc/qbk/04_http/09_custom_body.qbk index ec5ff6fb..ac918eb1 100644 --- a/doc/qbk/04_http/09_custom_body.qbk +++ b/doc/qbk/04_http/09_custom_body.qbk @@ -73,16 +73,15 @@ something that is not a container for body octets, such as a [@boost:/libs/filesystem/doc/reference.html#class-path `boost::filesystem::path`]. Or, a more structured container may be chosen. This declares a body's value type as a JSON tree structure produced from a -[@boost:/doc/html/property_tree/parsers.html#property_tree.parsers.json_parser `boost::property_tree::json_parser`]: +[@boost:/doc/html/json/input_output.html#json.input_output.parsing.streaming_parser `boost::json::stream_parser`]: ``` -#include -#include +#include struct Body { - using value_type = boost::property_tree::ptree; + using value_type = boost::json::value; - class reader + class reader; class writer; }; ```