title: Go: Converting JSON string to map[string]interface{}
body: <p>I'm trying to create a JSON representation within Go using a <code>map[string]interface{}</code> type. I'm dealing with JSON strings and I'm having a hard time figuring out how to avoid the JSON unmarshaler to automatically deal with numbers as float64s. As a result the following error occurs.</p>
  
  <p>Ex.
  <code>"{ 'a' : 9223372036854775807}"</code> should be <code>map[string]interface{} = [a 9223372036854775807</code> but in reality it is <code>map[string]interface{} = [a 9.2233720368547758088E18]</code></p>
  
  <p>I searched how structs can be used to avoid this by using <code>json.Number</code> but I'd really prefer using the <code>map</code> type designated above.</p>