title: JSON.NET Deserialize objects within object / array of objects
body: <p>I have a situation where an API I'm using is returning inconsistent JSON, which I want to deserialize using JSON.NET. In one case, it returns an object that contains objects (note that the outer "1" can be any number):</p>
  
  <pre><code>{
     "1":{
        "0":{
           "db_id":"12835424",
           "title":"XXX"
        },
        "1":{
           "db_id":"12768978",
           "title":"YYY"
        },
        "2":{
           "db_id":"12768980",
           "title":"ZZZ"
        },
        "3":{
           "db_id":"12768981",
           "title":"PPP"
        }
     }
  }
  </code></pre>
  
  <p>And in another case, it returns an array of objects:</p>
  
  <pre><code>{
     "3":[
        {
           "db_id":"12769199",
           "title":"XXX"
        },
        {
           "db_id":"12769200",
           "title":"YYY"
        },
        {
           "db_id":"12769202",
           "title":"ZZZ"
        },
        {
           "db_id":"12769243",
           "title":"PPP"
        }
     ]
  }
  </code></pre>
  
  <p>I have no idea why this inconsistency exists, but this is the format I'm working with. What would be the correct way to deserialize both formats with the <code>JsonConvert.DeserializeObject</code> method?</p>