title: Converting JSON to XML
body: <p>I trying to convert JSON output into XML. Unfortunately I get this error:</p>
  
  <blockquote>
    <p>JSON root object has multiple properties. The root object must have a single property in order to create a valid XML document. Consider specifing a DeserializeRootElementName.</p>
  </blockquote>
  
  <p>This is what I up to now created.</p>
  
  <pre><code>string url = string.Format("https://graph.facebook.com/{0}?fields=posts.fields(message)&amp;access_token={1}", user_name, access_token);
  
  HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;
  
  using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
  {
      StreamReader reader = new StreamReader(response.GetResponseStream());
      jsonOutput = reader.ReadToEnd();
      Console.WriteLine("THIS IS JSON OUTPUT: " + jsonOutput);
  }
  XmlDocument doc = (XmlDocument)JsonConvert.DeserializeXmlNode(jsonOutput);
  Console.WriteLine(doc);
  </code></pre>
  
  <p>And this is my JSON output:</p>
  
  <pre><code>{"id":"108013515952807","posts":{"data":[{"id":"108013515952807_470186843068804","created_time":"2013-05-14T20:43:28+0000"},{"message":"TEKST","id":"108013515952807_470178529736302","created_time":"2013-05-14T20:22:07+0000"}
  </code></pre>
  
  <p>How can I solve this problem?</p>