title: Simplest way to return literal JSON using gin gonic
body: <p>I am learning Go by building a simple API interface for a web server. I want to return a simple message in JSON, when a default route is hit.</p>
  
  <p>So far, reading online, this is the easiest way to return a literal JSON string, and encode it and send it to the user.</p>
  
  <pre><code>func GetDefault(c *gin.Context)  {
      jsonData := []byte(`{"msg":"this worked"}`)
  
      var v interface{}
      json.Unmarshal(jsonData, &amp;v)
      data := v.(map[string]interface{})  
  
      c.JSON(http.StatusOK,data)
  }
  </code></pre>
  
  <p>Is this the most efficient / fastest way to do it?</p>
  
  <p>in node.js and express, I would do something like:</p>
  
  <pre><code>return res.status(200).json({"msg":"this worked"});
  </code></pre>
  
  <p>Whats the best way to do this in Go + Gin?</p>