Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.1.1 - Fix issues w/ reviver and replacer functions
- Properties are not removed if the reviver function returns JSON.Undefined - When stringifying sparse arrays, Dump() overrides the returned value of the replacer function(when an empty element is passed) with 'null'. - Pass JSON.Undefined as value parameter to the replacer function if the current field is an empty field in a sparse array.
- Loading branch information
1 parent
6aaeb3d
commit 43cb649
Showing
1 changed file
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters