0.6.2
- Added
spaceBytes
field tostringifyInfo()
result, which indicates the number of bytes used for white spaces. This allows for estimating size ofJSON.stringify()
result with and without formatting (whenspace
option is used) in a single pass instead of two - Fixed
stringifyInfo()
to correctly accept thespace
parameter from options, i.e.stringifyInfo(data, { space: 2 })