Skip to content

v6.0.0

Latest

Choose a tag to compare

@kshetline kshetline released this 08 Jun 06:51
22daec1
  • Added maxIndent, noIndent, and propertyFilter stringification options.
  • Added context callback parameter for both replacers and revivers with context.holder and context.stack values.
  • The above results in a breaking change from 5.x versions of JSON-Z, where the third parameter of a replacer/reviver callback might be expected, depending on context, to be a holder object. This change results in a more consistent callback paradigm.