title: How to Convert a model object into JSON - Swift 4
body: <p>How to Convert a model object into JSON?<br>
  I want "Answer" object.</p>
  
  <p><strong>// Answers Class</strong></p>
  
  <pre><code>class Answers {
  
      var cat_id: String!
      var responses = [Response]()
      var date: String!
      var comment: String!
      var time: String!
      var lat: String!
      var lon: String!
      var address: String!
  
  }
  </code></pre>
  
  <p><strong>// Response Class</strong></p>
  
  <pre><code>class Response {
  
      var que_id: String!
      var question: String!
      var response: String!
  
  }
  </code></pre>