title: How to convert JSON format of data to GraphQL query format
body: <p>I have a Json object and want to convert it to graphql query in order to post a request on graphql api. Can any one please provide any pointer to it as I am not able to proceed.</p>
  
  <pre><code>JSON object extracted from the POJO:
  {
    "customer": {
       "idFromSource": "123", 
       "title": "Mrs", 
       "dateOfBirth": "1980-11-11"
    }
  }
  
  graphql query that I need to hit a post request:
  {
    "query": "mutation {updateCustomer(customer: 
                      {idFromSource: \"123\", 
                      title: \"Mrs\", 
                      dateOfBirth: \"1980-11-11\"})
                       {idFromSource title dateOfBirth}}"
  }
  </code></pre>