Web Security · Data integrity
JSON reviver
An optional callback passed to JSON.parse that transforms parsed key-value pairs. Plain parsing does not evaluate strings as code. A custom reviver that passes a string to eval adds its own code-execution path, separate from node-serialize's function revival.