pjvds/JSON Escape

Escape JSON strings by removing or encoding traces of special characters that could prevent parsing.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
valueThe input to escapeyes
repeatThe number of times to repeat the escaping (string|number)nofalse
namedescription
valueThe escaped input