title: Go: Convert Strings Array to Json Array String
body: <p>Trying to convert a strings array to a json string in Go. But all I get is an array of numbers.</p>
  
  <p>What am I missing?</p>
  
  <pre><code>package main
  
  import (
      "fmt"
      "encoding/json"
  )
  
  func main() {
      var urls = []string{
          "http://google.com",
          "http://facebook.com",
          "http://youtube.com",
          "http://yahoo.com",
          "http://twitter.com",
          "http://live.com",
      }
  
      urlsJson, _ := json.Marshal(urls)
      fmt.Println(urlsJson)
  }
  </code></pre>
  
  <p>Code on Go Playground: <a href="http://play.golang.org/p/z-OUhvK7Kk" rel="noreferrer">http://play.golang.org/p/z-OUhvK7Kk</a></p>