More compact JSON formatting.

This commit is contained in:
XMRig 2019-08-04 22:07:05 +07:00
parent 7eaf7764f7
commit a8e86c3530
6 changed files with 16 additions and 5 deletions

View file

@ -288,6 +288,7 @@ protected:
Level(bool inArray_) : valueCount(0), inArray(inArray_) {}
size_t valueCount; //!< number of values in this level
bool inArray; //!< true if in array, otherwise in object
bool inLine = false;
};
static const size_t kDefaultLevelDepth = 32;