forked from bblanchon/ArduinoJson
Extracted class IndentedPrintDecorator from PrettyPrintDecorator
This commit is contained in:
1 parent
d877d77b63
commit
6539c6982c
12 files changed
+128
-31
No files matched your search
@@ -74,7 +74,8 @@ namespace JsonGeneratorTests
|
||||
void whenInputIs(const char input[])
|
||||
{
|
||||
StringBuilder sb(buffer, sizeof(buffer));
|
||||
PrettyPrintDecorator decorator(sb);
|
||||
IndentedPrintDecorator indentedPrint(sb);
|
||||
PrettyPrintDecorator decorator(indentedPrint);
|
||||
|
||||
returnValue = decorator.print(input);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user