From cf61b8a52f9d9672a66e895438c7e6f51e2fe87d Mon Sep 17 00:00:00 2001 From: tobozo Date: Mon, 17 Oct 2022 23:10:46 +0200 Subject: [PATCH] updated examples --- examples/test/src/test.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/examples/test/src/test.cpp b/examples/test/src/test.cpp index 2a79819..04ba1fa 100644 --- a/examples/test/src/test.cpp +++ b/examples/test/src/test.cpp @@ -12,6 +12,15 @@ fourth: false omg I'm multiline! whelp "I'm quoted" ? ! () { } "\t\r\n" slash\ed + array_of_indexed_multiline_strings: + - multiline_string1: | + one ! + two "?" + three ... + - multiline_string2: | + four @'"] + five [[(() + six +-_%^& just_a_string: "I am a string" array_of_strings: # some unindented comments @@ -44,6 +53,7 @@ const char* json_example_str = R"_JSON_STRING_( "fourth": false, "blah": { "multiline_string": "omg I'm multiline!\nwhelp \"I'm quoted\" ? ! () { } \"\\t\\r\\n\"\nslash\\ed", + "array_of_indexed_multiline_strings": [{"multiline_string1": "one !\ntwo \"?\"\nthree ..."},{"multiline_string2": "four @'\"]\nfive [[(()\nsix +-_%^&"}], "just_a_string": "I am a string", "array_of_strings": ["oops", "meh" ], "same_array_of_strings": [ "oops", "meh" ],