We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded7d84 commit abdca8eCopy full SHA for abdca8e
src/lib_json/json_writer.cpp
@@ -991,7 +991,7 @@ void BuiltStyledStreamWriter::writeValue(Value const& value) {
991
writeWithIndent(valueToQuotedStringN(
992
name.data(), static_cast<unsigned>(name.length()), emitUTF8_));
993
if ((childValue.type() == objectValue &&
994
- !value.getMemberNames().empty()) ||
+ !childValue.getMemberNames().empty()) ||
995
(childValue.type() == arrayValue && childValue.size() > 0 &&
996
((cs_ == CommentStyle::All) || isMultilineArray(childValue))))
997
*sout_ << colonSymbolNoTrailingSpace_;
0 commit comments