aboutsummaryrefslogtreecommitdiff
path: root/src/string_map.cpp
diff options
context:
space:
mode:
authordozn <andymrsimmons@gmail.com>2025-12-29 12:23:54 -0800
committerdozn <andymrsimmons@gmail.com>2025-12-29 12:23:54 -0800
commitba68d75c6ff163c8c09793c9f42bab8229b6f490 (patch)
tree9adab6ae49bad81e5e308710df359478b8e4c7e0 /src/string_map.cpp
parent811f4c13cdc903387cc2a5bc1a34ebfdc763c9c2 (diff)
Add JSON5/SJSON Comments When Marshalling
Allows user-facing JSON5/SJSON to have comments explaining field usage. `json.Marshal_Options.pretty` must be enabled since we only use single-line comments (not to mention it wouldn't be terribly useful without `pretty` set anyways). We don't escape anything, so `\n` will display as "\n", but you're still able to enter in a proper newline character and it'll be displayed on multiple lines.
Diffstat (limited to 'src/string_map.cpp')
0 files changed, 0 insertions, 0 deletions