title: Create JSON object with single or multiple value parameters and execute REST API request
body: <p>I've JSON Payload as below:</p>
  
  <pre><code>{
    "Size": "100",
    "ApplicationSource": "AMAZON",
    "SearchData": [
     {
       "key": "orderID",
       "value": ["23434332", "45654456",...]  
     },
     {
       "key": "orderGroupCode",
       "value": "101"
      }
    ]
  } 
  </code></pre>
  
  <p>The <code>value</code> for <code>orderID</code> key in <code>SearchData</code> element can be <strong>single value</strong> or <strong>multiple values</strong> and are dynamic like this:</p>
  
  <pre><code>"value": "23434332"
  or
  "value": ["23434332", "45654456","5545645"]
  </code></pre>
  
  <p>How to create JSON object and parse and Execute RestClient request in C#.</p>