|
#include <Sprinter.h>
Public Member Functions | |
SprinterLayout (const char *arrayChars="[,]", const char *mapChars="{,}", const char *pairChars="(,)", const char *stringChars=nullptr, const char *keyChars=nullptr, const char *mapPairChars=nullptr) | |
SprinterLayout (const SprinterLayout &layout) | |
SprinterLayout (char itemSeparator) | |
Public Attributes | |
TypeLayout | arrayChars = TypeLayout("[,]") |
TypeLayout | mapChars = TypeLayout("{,}") |
TypeLayout | pairChars = TypeLayout("(,)") |
TypeLayout | stringChars = TypeLayout('"',0,'"') |
TypeLayout | keyChars = TypeLayout(0,0,0) |
TypeLayout | mapPairChars = TypeLayout(0,0,0) |
array,map,pair,string,key, mapPair
Consider printing a map structure - as a map: {key:value, key2:value2, ... } - as a list or pairs: [(key,value), (key2,value2), ...]