Skip to content

Commit

Permalink
updated examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tobozo committed Oct 17, 2022
1 parent b07da3a commit cf61b8a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/test/src/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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" ],
Expand Down

0 comments on commit cf61b8a

Please sign in to comment.