Skip to content

Commit cf61b8a

Browse files
committed
updated examples
1 parent b07da3a commit cf61b8a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/test/src/test.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ fourth: false
1212
omg I'm multiline!
1313
whelp "I'm quoted" ? ! () { } "\t\r\n"
1414
slash\ed
15+
array_of_indexed_multiline_strings:
16+
- multiline_string1: |
17+
one !
18+
two "?"
19+
three ...
20+
- multiline_string2: |
21+
four @'"]
22+
five [[(()
23+
six +-_%^&
1524
just_a_string: "I am a string"
1625
array_of_strings:
1726
# some unindented comments
@@ -44,6 +53,7 @@ const char* json_example_str = R"_JSON_STRING_(
4453
"fourth": false,
4554
"blah": {
4655
"multiline_string": "omg I'm multiline!\nwhelp \"I'm quoted\" ? ! () { } \"\\t\\r\\n\"\nslash\\ed",
56+
"array_of_indexed_multiline_strings": [{"multiline_string1": "one !\ntwo \"?\"\nthree ..."},{"multiline_string2": "four @'\"]\nfive [[(()\nsix +-_%^&"}],
4757
"just_a_string": "I am a string",
4858
"array_of_strings": ["oops", "meh" ],
4959
"same_array_of_strings": [ "oops", "meh" ],

0 commit comments

Comments
 (0)