mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Added a space before the object's values
This commit is contained in:
@@ -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