title: How to use json.net(JObject/Jarray/Jtoken) and convert to class in the fastest way into a dictionary?
body: <p>How to use json.net(JObject/Jarray/Jtoken) and convert to class in the fastest(performance) way into a dictionary? the key of the dictionary is the sees "name" in the json file</p>
  
  <p>Can anyone help? </p>
  
  <p>Thanks alot!</p>
  
  <pre><code>seed.json
         {
            "Seed": [
                  {
                      "name": "Cheetone",
                      "growthrate": 1,
                      "cost": 500
                  },
                  {
                      "name": "Tortone",
                      "growthrate": 8,
                      "cost": 100
                  }
              ],
          }
  
  
      public class SoilStat
      {
          public int growthRate;
          public int cost;
      }
  
      public class DataLoader : MonoSingleton&lt;DataLoader&gt;
      {
          public string txt;
          Dictionary&lt;string, SoilStat&gt; _soilList = new Dictionary&lt;string, SoilStat&gt;();
  
          JObject rawJson = JObject.Parse(txt);
  
          ???
      }
  </code></pre>