Skip to main content

Module json

Module json 

Source
Expand description

The JSON string escaper every module uses (18.24.0; before, several modules had their own, some of which left control characters raw).

Functions§

escape
s as the inside of a JSON string literal (RFC 8259 §7): quote, backslash and every control character escaped.