title: Json Object to a Multidimensional C# Array?
body: <p><strong>Is there a way to convert a Json Object to a Multidimensional C# Array?</strong> I know it might be impractical but I can't be bothered to write classes and then <em>deserialize</em> the strings into them.</p>
  
  <pre><code>List&lt;string&gt; ohyeah = (List&lt;string&gt;)JsonConvert.DeserializeObject(g.CommToken);
  </code></pre>
  
  <p><strong>That returns an Invalid Cast exception!</strong></p>
  
  <p>Example:</p>
  
  <pre><code>{"method":"getCommunicationToken","header":{"uuid":"9B39AAB0-49A6-AC7A-BA74-DE9DA66C62B7","clientRevision":"20100323.02","session":"c0d3e8b5d661f74c68ad72af17aeb5a1","client":"gslite"},"parameters":{"secretKey":"d9b687fa10c927f102cde9c085f9377f"}}
  </code></pre>
  
  <p>I need to get something like that :</p>
  
  <pre><code>j["method"]; //This will equal to getCommunicationToken
  j["header"]["uuid"]; //This will equal to 9B39AAB0-49A6-AC7A-BA74-DE9DA66C62B7
  </code></pre>
  
  <p><strong>I literally need to parse the json object into an array.</strong> </p>