title: How to create and send the json data to server using swift language
body: <p>I'm new to IOS development and I have started with the swift language.</p>
  
  <p>I'm trying to get the value from two text fields and convert those two text fields into json and send that json to the server receive.php.</p>
  
  <p>lets concider that tow text fields are 
  - name
  - pass</p>
  
  <p>how do i create a Json &amp; send that to server when a button is clicked ?</p>