title: Partial copy of dynamic object in c#
body: <p>As you can see below, in the json i have "data", "data2" and invoice.
  My goal is to split a json file in more parts that have "data" and "data2" and a part of "invoice". 
  I've de-serialized the string, that contain the json code, in a dynamic object so i need to make a partial copy of this in a temp dynamic object, serialize it and than continue my job. </p>
  
  <pre><code> string strJsonOuput = Newtonsoft.Json.JsonConvert.SerializeXmlNode(xmlInput);
   dynamic objComune = Newtonsoft.Json.JsonConvert.DeserializeObject&lt;dynamic&gt;(strJsonOuput);
  </code></pre>
  
  <p>This an example of the json:</p>
  
  <pre><code>{
    "data": {
      "a": "1",
      "b": "2"
    },
    "data2": {
      "something1": {
          "thing1": "xxx",
      },
      "Invoice": [
        {
          "head": "bbb",
          "body": {
            "argument1":"aaa"
          }
        }
        {
           "head": "xxxx",
           "body": {
           "argument2": "ccc"
              }
        }
        {
           "head": "xxxx",
           "body": {
           "argument2": "ccc"
              }
        }
        {...}
        ]
      }
  
  }
  </code></pre>