title: golang is there an easy way to unmarshal arbitrary complex json
body: <p>Every example I come to online shows examples of building structs for the data and then unmarshaling JSON into the data type. The problem is that what I am getting is massive dump of JSON and it seems like backbreaking labor to use such a method....</p>
  
  <p>Is there a way to take a huge dump of data and get it to unmarshal into a map like object that would function similar to json/maps?</p>
  
  <p>What I have right now is like this...</p>
  
  <pre><code>var data map[interface{}]interface{}
  err = json.Unmarshal(JSONDUMP, &amp;data)
  if err != nil { log.Fatal(err) }
  </code></pre>
  
  <p>but then I cannot call it like this</p>
  
  <pre><code>data["some"]["long"]["chain"]["of"]["lookups"] 
  (type interface {} does not support indexing)
  </code></pre>