title: How to create vb.net object class from json file (or xml file)
body: <p>I'm wondering how to create a objet class from json file or xml file ?</p>
  
  <p>example :</p>
  
  <p>I get this json file from webservice :</p>
  
  <pre><code>{"nid":"3798","vid":"3788","type":"contact","language":"fr","title":"G","uid":"1","status":"1","created":"1374598689","changed":"1374598689","comment":"1","promote":"0","sticky":"0","tnid":"0","translate":"0"}
  </code></pre>
  
  <p>I would like to create a class like :</p>
  
  <pre><code>Public Class Card
    Public nid As Integer
    Public vid As Integer
    Public type As String
    Public language As String
    Public title As String
    .
    .
    .
  End Class
  </code></pre>
  
  <p>NB :</p>
  
  <ul>
  <li>My question is not how to serialize / deserialize json objet in vb.net ?</li>
  <li>My xml file doesn't have XSD that why is more difficult</li>
  <li>My code is written in VB.Net not in C#. I found many website which convert json to c# (<a href="http://json2csharp.com/" rel="noreferrer">http://json2csharp.com/</a>), but nothing json to vb.net</li>
  </ul>
  
  <p>If I have no choice I will create manually my classes ... :-(</p>
  
  <p>Thank in advance for your help</p>
  
  <p>Eric</p>