Use this online tool to escape (or encode) JSON string to make sure that special or reserved characters are encoded via proper escaping. The escaped text can be used in JSON strings safely without making the JSON invalid. Typical usage would be if you want to store HTML in a JSON property.
See Substitutions for more information.
Read more at wikipedia.
The following characters are reserved in JSON and as such they must be escaped before they are used inside JSON string values.
\t
.\n
.backslash
.FF
is escaped by backslash so the output becomes \f
\b
\"
\u
followed by it's unicode value of 0085. The final output is \u0085
.\u2028
.\u2029
.
Comments 0