Skip to content

Commit c7728e8

Browse files
committed
Clarify documentation regarding indentation / newline
1 parent 313a0e4 commit c7728e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/json/writer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ class JSON_API StreamWriterBuilder : public StreamWriter::Factory {
9393
/** Configuration of this builder.
9494
Available settings (case-sensitive):
9595
- "commentStyle": "None" or "All"
96-
- "indentation": "<anything>"
96+
- "indentation": "<anything>".
97+
- Setting this to an empty string also omits newline characters.
9798
- "enableYAMLCompatibility": false or true
9899
- slightly change the whitespace around colons
99100
- "dropNullPlaceholders": false or true

0 commit comments

Comments
 (0)