This question already has an answer here:
- Converting string to json or struct 2 answers
Below is the code that I've tried but to no avail:
jsonObj, err := json.Marshal(supportJSONString)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
}
fmt.Fprintf(w, "%s", jsonObj)
</div>