title: Getting the name / key of a JToken with JSON.net
body: <p>I have some JSON that looks like this</p>
  
  <pre><code>[
    {
      "MobileSiteContent": {
        "Culture": "en_au",
        "Key": [
          "NameOfKey1"
        ]
      }
    },
    {
      "PageContent": {
        "Culture": "en_au",
        "Page": [
          "about-us/"
        ]
      }
    }
  ]
  </code></pre>
  
  <p>I parse this as a JArray:</p>
  
  <pre><code>var array = JArray.Parse(json);
  </code></pre>
  
  <p>Then, I loop over the array:</p>
  
  <pre><code>foreach (var content in array)
  {
  
  }
  </code></pre>
  
  <p><code>content</code> is a <code>JToken</code></p>
  
  <p>How can I retrieve the "name" or "key" of each item?</p>
  
  <p>For example, "MobileSiteContent" or "PageContent"</p>