Hi,
There is a jsonparser.Unescape function which escapes special characters according to (https://tools.ietf.org/html/rfc7159#section-7), but there is not any Escape function to escape especial chars in the input strings specially for jsonparser.Set functions. It would really useful and avoids using other json libraries for such purpose.
Hi,
There is a
jsonparser.Unescapefunction which escapes special characters according to (https://tools.ietf.org/html/rfc7159#section-7), but there is not anyEscapefunction to escape especial chars in the input strings specially forjsonparser.Setfunctions. It would really useful and avoids using other json libraries for such purpose.