mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-18 13:02:25 +02: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();
|
return sink.write(c) + writeln();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case ':':
|
||||||
|
previousChar = c;
|
||||||
|
if (isInAString)
|
||||||
|
{
|
||||||
|
return sink.write(c);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return sink.write(c) + sink.write(' ');
|
||||||
|
}
|
||||||
|
|
||||||
case '\"':
|
case '\"':
|
||||||
if (previousChar != '\\')
|
if (previousChar != '\\')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user