forked from bblanchon/ArduinoJson
Added a space before the object's values
This commit is contained in:
1 parent
66c05041e8
commit
410ca55e88
2 files changed
+15
-4
No files matched your search
@@ -39,6 +39,17 @@ size_t IndentedPrintDecorator::write(uint8_t c)
|
||||
return sink.write(c) + writeln();
|
||||
}
|
||||
|
||||
case ':':
|
||||
previousChar = c;
|
||||
if (isInAString)
|
||||
{
|
||||
return sink.write(c);
|
||||
}
|
||||
else
|
||||
{
|
||||
return sink.write(c) + sink.write(' ');
|
||||
}
|
||||
|
||||
case '\"':
|
||||
if (previousChar != '\\')
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user