title: WPF Reading / writing JSON vs XML
body: <p>I'm looking for a solution to read and write data from a file. The data is a list composing of a file path, name and a list of compatible video formats for video playback applications on the system.
  The XML data structure looks like this.</p>
  
  <pre><code>&lt;player&gt;
      &lt;name&gt;WMP&lt;/name&gt;
      &lt;path&gt;C:\Program Files (x86)\Windows Media Player\wmplayer.exe&lt;/path&gt;
      &lt;extensionList&gt;
          &lt;string&gt;AVI&lt;/string&gt;
          &lt;string&gt;WMP&lt;/string&gt;
      &lt;/extensionList&gt;
  &lt;/player&gt;
  </code></pre>
  
  <p>I have previously used a XMLSerializer to serialize a list of player classes which worked quite nicely and before that I had used SQL. I have recently heard of JSON and would like to broaden my options when it comes to storing data. Does anyone have any suggestions on which format is more suitable for my WPF application or if there are any better methods for data access that suites my needs.</p>