diff options
| author | dozn <andymrsimmons@gmail.com> | 2025-12-29 12:23:54 -0800 |
|---|---|---|
| committer | dozn <andymrsimmons@gmail.com> | 2025-12-29 12:23:54 -0800 |
| commit | ba68d75c6ff163c8c09793c9f42bab8229b6f490 (patch) | |
| tree | 9adab6ae49bad81e5e308710df359478b8e4c7e0 /src/check_expr.cpp | |
| parent | 811f4c13cdc903387cc2a5bc1a34ebfdc763c9c2 (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/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions