You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SetEscapeHTML() only calls through to the fall-back "encoding/json".Encoder from the standard library. The ffjson generated code always escapes the "HTML unsafe" characters.
If you encode a (non-pointer) struct it will use the fallback encoder because the generated code uses pointer receivers. If you want to use the fast ffjson encoder it will not respect the SetEscapeHTML() call.
With ffjson:
Without ffjson:
The text was updated successfully, but these errors were encountered: