From 5484f2ebbcfcfd28d666759e02680b227e1b0e06 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 29 Sep 2026 22:46:08 +0200 Subject: [PATCH] Format the dump() example with the pinned astyle The "check" job runs astyle over the documentation examples once it gets past the amalgamation step. Signed-off-by: Niels Lohmann --- docs/mkdocs/docs/examples/basic_json_view__dump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mkdocs/docs/examples/basic_json_view__dump.cpp b/docs/mkdocs/docs/examples/basic_json_view__dump.cpp index 7a00c06d2..c9bd8198f 100644 --- a/docs/mkdocs/docs/examples/basic_json_view__dump.cpp +++ b/docs/mkdocs/docs/examples/basic_json_view__dump.cpp @@ -19,7 +19,7 @@ int main() // the source text; a json value's object_t is std::map, so // materialize().dump() of the very same view sorts the keys instead const json_document config = json_document::parse( - R"({"name": "cache", "host": "db1", "port": 6379, "timeout": 30})"); + R"({"name": "cache", "host": "db1", "port": 6379, "timeout": 30})"); std::cout << config.root().dump(2) << "\n\n"; std::cout << config.root().materialize().dump(2) << '\n'; }