title: Generate C# classes from JSON Schema
body: <p>I'm creating a C# WCF Web Service that return a lot of data in a JSON format.
  The client is an iPad application that is currently being developped by another team, So I'm working on specifications, without example data.<br>
  Currently the JSON string is created by the .net framework, my Web Service is returning a C# object containing all the information that are then serialized by the framework using DataContracts.</p>
  
  <p>My problem is that the communication specifications only contain JSON Schema files (based on <a href="http://json-schema.org/">http://json-schema.org/</a>). In order to facilitate the development I'd like to generate the corresponding classes in C# but as the files contain quite a lot of information and there are a dozen of files, I don't really want to create those classes manually.</p>
  
  <p>So I'm looking for a tool that would allow me either :</p>
  
  <ul>
  <li>To generate C# classes from a JSON Schema.</li>
  <li>To convert a JSON Schema to an XSD file. Then it would be easy to create the classes as there are plenty of tool to generate classes from XSD.</li>
  </ul>
  
  <p>I found a lot of tools to validate a JSON string against a JSON Schema or to generate classes from the JSON string but nothing that seem to help me.<br>
  There is <a href="http://json.codeplex.com/">JSON.NET</a> but it seems to be a library and not a tool and I didn't found any information about generating classes with it.</p>
  
  <p>So if anyone knows a tools or has an idea on how I could generate those classes (I tried a tool that create the classes in Java but I couldn't make it work).</p>