title: How to unmarshal command line input properly?
body: <p>I have written following code snippet in <code>trial.go</code>:</p>
  
  <pre><code>type Mine struct{
      A string `json:"a"`
  }
  
  func main(){
      s := Mine{}
      v := os.Args[1]//`{"a":"1"}`
      fmt.Println(v)
      fmt.Println(reflect.TypeOf(v))
      json.Unmarshal([]byte(v), &amp;s)
      fmt.Println(s)  
  }
  </code></pre>
  
  <p>I am running this file as below:</p>
  
  <pre><code>go run trial.go `{"A":"1"}`
  </code></pre>
  
  <p>But I don't get anything in <code>s</code>. It is always a blank struct.</p>
  
  <p>What am I doing wrong here?</p>