i try to put json data to web, i use json.Marshal to create json data.
Flowing picture is fmt.Println(string(jsonOut)) result
i use template.HTMLEscape(w, []byte(jsonOut)) to show in web, it will show like following picture.
the " become ".
why it will show " and how can i do for show "?


template.HTMLEscapewill escape special character.use following code can post json data to web
reference https://www.alexedwards.net/blog/golang-response-snippets#json