title: How to split a JSON property value adding sub property names?
body: <p>I'm retrieving an array of JSON objects and then using <a href="https://stackoverflow.com/questions/2858121/convert-comma-separated-string-to-array">JS split</a> the contents of a property into a sub-array for parsing requirements.</p>
  
  <p>But I'm not sure how to add a sub property name to that newly created array for that property.</p>
  
  <p>So now when I do a split on the property using:</p>
  
  <pre><code> for (var i = 0; i &lt; recordsets[0].length; i++){ 
         recordsets[0][i].Chart_Name = recordsets[0][i].Chart_Name.split(',');                           
      }
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>"Chart_Name":[  
              "Criticality",
              " Status"
           ],
  </code></pre>
  
  <p>But I'm aiming to add a property name to each array value like:</p>
  
  <pre><code>    "Chart_Name":[  
              {name: "Criticality"},
              {name: "Status"}
           ],
  </code></pre>
  
  <p><strong>Question:</strong></p>
  
  <p>How can I split Json string into sub property array?</p>
  
  <p>This is a gist of the JSON array for context:</p>
  
  <pre><code>[  
     [  
        {  
           "Dashboard_Name":"my dashboard",
           "Chart_Name":[  
              "Criticality",
              " Status"
           ]
        }  
     ]
  ]
  </code></pre>