title: Deserialize JSON with json.NET into C# dynamic
body: <p>I have following problem: I have a json file that looks like this</p>
  
  <pre><code>{
      "Path": {
          "FirstPath": "/1/2/text()"
      }
  }
  </code></pre>
  
  <p>If I parse this JSON-File with Newtonsoft like this</p>
  
  <pre><code> dynamic dyn = JObject.Parse(json);
  </code></pre>
  
  <p>or this</p>
  
  <pre><code>dynamic dyn = JsonConvert.DeserializeObject(json);
  </code></pre>
  
  <p>I get a dynamic object that needs to be used like this</p>
  
  <pre><code>dyn.Path.FirstPath.Value
  </code></pre>
  
  <p>How can I get rid of the Value stuff? All of my objects in the JSON end up being a string. I don't want to always write ".Value" at the end if it is not necessary.</p>