title: How to Specify POST with JSON body in Swagger Editor
body: <p>i have a POST method REST API  with request body as json, which has</p>
  
  <pre><code>{
      "name": "5-Star",
      "vendor": "Cadbury",
      "description": "More almonds with chocolate",
      "price": 5,
      "primaryImage": "http://cdn.shopify.com/s/files/1/0219/2362/products/Front_a8743e5a-c6a3-4042-9cb2-834332af77d5_large.jpg?v=1377892407",
      "variants": 
          [
            { "name" : "size", 
              "type" : null, 
              "defaultValue" : "8",
              "values" :[ "8","8.5"]
            },
            { "name" : "color", 
              "type" : "COLOR", 
              "values" :[ "Milky White","Chocolate"]
            }
         ],
      "tags": 
         [ "Chocolate", "Cadbury"  ]
      }
  </code></pre>
  
  <p>I need to know how to set parameter for <strong>variants</strong> in the above json in <em>swagger 2.0 editor</em>, also referenced documentation and <em>petstore</em> sample from swagger but i cant find any clue.</p>