title: Creating specific PROC JSON hierarchy
body: <p>I am trying to create a JSON file using SAS Enterprise Guide (EG) in the following format:</p>
  
  <pre><code>{
  "schema": "EMAIL_SHA26",
  "data": ["1516e67afa2d9c3874c3e9874bdb41c4", "1a7e5f59b3f0dfe6ea152cb65aedb0d2"]
  }
  </code></pre>
  
  <p>I am pretty close, but my resulting JSON file has a few too many brackets. Here is what I am currently getting:</p>
  
  <pre><code>{
  "schema": "EMAIL_SHA26",
  "data": [
    [
     "1516e67afa2d9c3874c3e9874bdb41c4"
    ],
    [
     "1a7e5f59b3f0dfe6ea152cb65aedb0d2"
    ]
   ]
  }
  </code></pre>
  
  <p>And here is the code I am using:</p>
  
  <pre><code>PROC JSON 
      OUT = users NOSASTAGS PRETTY;
      WRITE VALUES "schema";
      WRITE VALUES "EMAIL_SHA26";
      WRITE VALUES "data";
      WRITE OPEN ARRAY;
      EXPORT users_ds / NOKEYS;
      WRITE CLOSE;
  RUN;
  </code></pre>
  
  <p>The "users_ds" data set has one column with the 2 data records in it. Is there any way I can prevent it from putting brackets around each value in the data set? Furthermore, is my desired output achievable knowing that the list of hashed emails could be as large as 10,000 records?</p>
  
  <p>Any help would be greatly appreciated.</p>