title: Error embedding "\n" into a string literal
body: <p>I need to decode a JSON string which has "\n" in it:</p>
  
  <pre><code>[
      {"Name":"Neo", "Message":"Hi\n:Hello everyone"},
      {"Name":"Sam","Messsage":"Hello\nEveery\nOne"}
  ]
  </code></pre>
  
  <p>I use the Golang code below:</p>
  
  <pre><code>package main
  
  import (
      "encoding/json"
      "fmt"
  )
  
  type Person struct {
      Messages  []string     `json:"Name,omitempty"`
  }
  
  func main() {
  s := "[{\"Name\":\"Neo\", \"Message\":\"Hi\n:Hello everyone\"},   {\"Name\":\"Sam\",\"Messsage\":\"Hello\nEveery\nOne\"}]"
  var pro Person
  err := json.Unmarshal([]byte(s), &amp;pro)
  if err == nil {
  fmt.Printf("%+v\n", pro)
  } else {
  fmt.Println(err)
  fmt.Printf("%+v\n", err)
  }
  }
  </code></pre>
  
  <p>But I get the error:</p>
  
  <pre><code>ERROR invalid character '\n' in string literal
  </code></pre>