title: C# Parse list of git commits using json.net
body: <p>I've been browsing various websites and the JSON.net docs but I can't find an elegant way to do this. </p>
  
  <h2>The Problem</h2>
  
  <p>I have to parse a list of GitHub commits since a certain date.</p>
  
  <p>The example json file I've been using for testing: <a href="https://api.github.com/repos/QuiZr/ProjectPorcupineLocalization/commits?since=2016-10-25T04:15:52Z&amp;sha=Someone_will_come_up_with_a_proper_naming_scheme_later" rel="nofollow noreferrer">example json file</a></p>
  
  <p>The json is just a large (or empty) array. The problem is I don't need all of the data, I just need the sha of each commit.
  However, if you look at each type in the array, there are multiple shas.</p>
  
  <p>There is the base sha:</p>
  
  <pre><code>"sha": "fde139ae1d8fcf82bb145bbc99ed41763202e28f",
  </code></pre>
  
  <p>the tree sha:</p>
  
  <pre><code>"tree": {
          "sha": "5d33d345f2df166bc4c56cc9307a61a5ee57d346",
          "url": "https://api.github.com/repos/QuiZr/ProjectPorcupineLocalization/git/trees/5d33d345f2df166bc4c56cc9307a61a5ee57d346"
        },
  </code></pre>
  
  <p>and the parent sha(s): </p>
  
  <pre><code>"parents": [
        {
          "sha": "8b9b43e813645c3a66911247b3dca916af937738",
          "url": "https://api.github.com/repos/QuiZr/ProjectPorcupineLocalization/commits/8b9b43e813645c3a66911247b3dca916af937738",
          "html_url": "https://github.com/QuiZr/ProjectPorcupineLocalization/commit/8b9b43e813645c3a66911247b3dca916af937738"
        }
      ]
  </code></pre>
  
  <p>I only want the first sha. not the other shas.</p>
  
  <h2>Requirements</h2>
  
  <ul>
  <li>Needs to use JSON.net (not Ockokit)</li>
  <li>Should be elegant</li>
  <li>Needs to support the Unity game engine (i.e. C# version less than or equal to 2.0)</li>
  <li>I really don't want to create a new object type just for this.</li>
  </ul>