Skip to content

Commit 1ab310e

Browse files
authored
Merge pull request open-source-parsers#748 from dueringa/feature/clarifyIndentDocumentation
Clarify documentation regarding indentation / newline
2 parents 313a0e4 + c7728e8 commit 1ab310e

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)