Skip to main content

json_snapshot

Function json_snapshot 

Source
pub fn json_snapshot(v: &Value) -> Result<Value, String>
Expand description

The plain value JSON.stringify serializes a proxy as. SerializeJSONArray and SerializeJSONObject both read every member through [[Get]], so the snapshot is taken through the traps rather than off the target.