mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 10:17:39 +02:00
Test an object with comma, quote and column in the value
This commit is contained in:
@ -13,16 +13,19 @@ class IndentedPrintDecorator : public Print
|
||||
public:
|
||||
|
||||
IndentedPrintDecorator(Print& p)
|
||||
: indent(0), sink(p), emptyBlock(false)
|
||||
: indent(0), sink(p)
|
||||
{
|
||||
previousChar = 0;
|
||||
isInAString = false;
|
||||
}
|
||||
|
||||
virtual size_t write(uint8_t);
|
||||
|
||||
private:
|
||||
int indent;
|
||||
bool emptyBlock;
|
||||
uint8_t previousChar;
|
||||
Print& sink;
|
||||
bool isInAString;
|
||||
|
||||
size_t writeln();
|
||||
};
|
||||
|
Reference in New Issue
Block a user