title: Using DataContractJsonSerialiser to parse a json file
body: <p>I have json file that I have exported using TexturePacker, and it produces this format.</p>
  
  <pre><code>{"frames": {
  
      "But_01_Highlight.png":
      {
          "frame": {"x":0,"y":0,"w":280,"h":41},
          "rotated": false,
          "trimmed": true,
          "spriteSourceSize": {"x":7,"y":8,"w":280,"h":41},
          "sourceSize": {"w":294,"h":57}
      },
  </code></pre>
  
  <p>I was following a tutorial where you could just turn it into an array but that's not available on windows phone 7. It feels like I have the reverse engineer every format rather than just read it as is parsed.</p>
  
  <p>How would I create an object with a datacontract to load this format?</p>
  
  <p>My question is also similar to the following question <a href="https://stackoverflow.com/questions/3769322/datacontractjsonserializer-with-arbitrary-key-names">https://stackoverflow.com/questions/3769322/datacontractjsonserializer-with-arbitrary-key-names</a> which has no answer</p>
  
  <p>@Andreas Löw if you could export to a format like so it would be great.</p>
  
  <pre><code>{"frames":[ 
      {
          "filename": "But_01_Highlight.png",
          "frame": {"x":0,"y":0,"w":280,"h":41},
          "rotated": false,
          "trimmed": true,
          "spriteSourceSize": {"x":7,"y":8,"w":280,"h":41},
          "sourceSize": {"w":294,"h":57}
      },
      ...
      ]
  </code></pre>