title: accessing the data of multi-line string parameter in Jenkins Pipeline
body: <p>I am passing a <strong>multi-line string parameter using the option "this project is parameterized"</strong> with content similar to </p>
  
  <pre><code>{"name"="aaaa", "url" = "xxxx"},
  {"name"="bbbb", "url" = "yyyy"}
  </code></pre>
  
  <p>Following is the piece of code through which <strong>I am able to get the each element</strong>:</p>
  
  <pre><code>node ('docker-maven-slave')
  {
    def string = params.details.split("\n") 
    echo "size is "+string.size()  
    for (i =0; i &lt; string.size(); i++)
    { 
      echo string[i]
    }
  }
  </code></pre>
  
  <p><strong>How do I access the specific value of each element? Like "name" and "url"</strong>.</p>
  
  <p>Is this the right approach for the such requirement? If not please suggest me the appropriate one.</p>
  
  <p>Tried the same way that is suggested <a href="https://stackoverflow.com/questions/40195720/how-to-print-each-element-of-multi-line-string-parameter">here</a>:</p>
  
  <pre><code>@NonCPS    
  def params() 
  {
      params.details.split("\n").each {
          param -&gt; println "${param}"
      } 
  }
  stage 'read-string'
  node ('docker-maven-slave')
  {
  
      params()
    //echo("${string.name}")
  
  }
  </code></pre>