pquerna / ffjson

faster JSON serialization for Go
Apache License 2.0
2.97k stars 234 forks source link

ffjson support encode SetEscapeHTML problem? #217

Closed gqlxj1987 closed 7 years ago

gqlxj1987 commented 7 years ago

In go 1.7, "encoding/json" has add new method

func (enc *Encoder) SetEscapeHTML(on bool) {
    enc.escapeHTML = on
}

to support disable escapehtml. I attend to add this in ffjson, but it can't compare below go1.7. Please consider this problem, these has other solution to add this function into ffjson?