title: Getting Values of a JSON Object in vb.net
body: <p><strong>EDITED:</strong></p>
  
  <p>I got stuck while getting value of a JSON object in vb.net. My JSON request posts data like given below:</p>
  
  <pre><code>function submitEmail() {
  
          var ClientsPersonalInfo = {
              FullName: $("#FullName").val(),
              PhoneNumber: $("#PhoneNumber").val(),
              EmailAddress: $("#EmailAddress").val(),
              DOB: $("#DOB").val(),
              Occupation: $("#Occupation").val(),
              NINumber: $("#NINumber").val(),
              FullAddress: $("#FullAddress").val()
          }
  
          var ClientsData = {};
          ClientsData.ClientsPersonalInfo = ClientsPersonalInfo;
  
          var d = '{"ClientsData":' + JSON.stringify(ClientsData) + '}'
  
          $.ajax({
              type: "POST",
              url: "add-new-client.aspx/SubmitEmail",
              data: d,
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: function (response) {
                  alert(response)
              },
              failure: function (msg) {
                  alert(msg);
              }
          });
  }
  </code></pre>
  
  <p><strong>JSON Object Looks Like</strong></p>
  
  <pre><code>{
  "ClientsPersonalInfo": {
      "FullName": "",
      "PhoneNumber": "",
      "EmailAddress": "",
      "DOB": "",
      "Occupation": "",
      "NINumber": "",
      "FullAddress": ""
      }
  }
  </code></pre>
  
  <p>The above request returns an object in vb.net</p>
  
  <p>VB Code:</p>
  
  <pre><code>&lt;WebMethod()&gt; _
      Public Shared Function SubmitEmail(ByVal ClientsPersonalInfo As Object) As String
  
          // What to do next to get object "ClientsPersonalInfo"
          // I want to access properties of the object like
          //Dim name As String = ClientsPersonalInfo.FullName
  
          Return "Successfully Converted."
  
      End Function
  </code></pre>
  
  <p>No I want to get values of this object and needs to append in a table. Please guide me how to get values of the above object?</p>