title: JObject - adding new objects dynamically
body: <p>I have a JObject like this:</p>
  
  <pre><code>JObject grid =
              new JObject(
              new JProperty("myprop", "value 1"),
              new JProperty("name", 
                  new JArray(
                                  new JObject(
                          new JProperty("myprop2", "value 2")
                      )
                  )
              )
          )
  </code></pre>
  
  <p>Nothing wrong with that.</p>
  
  <p>But, I have an object that I want to iterate over, and add them to my JObject, but how to do that? </p>
  
  <p>Like this? (which is not valid, I know)</p>
  
  <pre><code>JObject grid =
              new JObject(
              new JProperty("myprop", "value 1"),
              new JProperty("name", 
                  new JArray(
                                  new JObject(
                          new JProperty("myprop2", "value 2"),
                          foreach(var value in myObject) {
                              new JObject(
                                  new JProperty(value.Name, value.Value)
                              )   
                          }
                      )
                  )
              )
          )
  </code></pre>
  
  <p>How can I do this?</p>