title: Json newtonsoft : Deserialize string array from an Object
body: <p>My JSON is a very long one and i am fetching only one section "parent_crumbs"  from the long JSON </p>
  
  <pre><code> ...................,
   "parent_crumbs":["Platforms","New platform"],
   "promise_by":"2016-08-01",
    ....
  </code></pre>
  
  <p>The code I used to fetch value of "parent_crumbs" is </p>
  
  <pre><code>  JObject lp_p = JObject.Parse(response_json);
    string val= lp_p["parent_crumbs"].ToString();
  </code></pre>
  
  <p>This returns the following value </p>
  
  <pre><code> "[\r\n  \"Platforms\",\"New platform\"\r\n]"
  </code></pre>
  
  <p>Now I have to do a comparison with the first value from the array as the string is available in a Dictionary as key value and if available return ID </p>
  
  <pre><code>        Packages = new Dictionary&lt;string, int&gt;();
          Packages.Add("Platforms", 10212);
          Packages.Add("New platform", 10202);
          Packages.Add("Unknown platform", 10203);
          int category=
  
          if(Packages.ContainsKey(val))
          {
                  Packages.TryGetValue(val, out category);
          }
  </code></pre>
  
  <p>So with current code I can't do the comparison straight away due to presence of [\r\n etc. </p>
  
  <p>How to  get the value as a string Array without special chars like  [\r\n . </p>
  
  <p>Making Model Classes  for the JSON for deserialization is not preferred way for me. Since creating class is a big job for me as lot of properties are there in JSON and is dynamic of nature</p>