// UnorderedMap doesn't sort when encoding map type.
funcUnorderedMap()EncodeOptionFunc{
returnfunc(opt*EncodeOption){
opt.Flag|=encoder.UnorderedMapOption
}
}
// DisableHTMLEscape disables escaping of HTML characters ( '&', '<', '>' ) when encoding string.
funcDisableHTMLEscape()EncodeOptionFunc{
returnfunc(opt*EncodeOption){
opt.Flag&=^encoder.HTMLEscapeOption
}
}
// DisableNormalizeUTF8
// By default, when encoding string, UTF8 characters in the range of 0x80 - 0xFF are processed by applying \ufffd for invalid code and escaping for \u2028 and \u2029.
// This option disables this behaviour. You can expect faster speeds by applying this option, but be careful.