title: Nodejs: JSONStream parse method regex
body: <p>I have a payload like this </p>
  
  <pre><code>{
      "rows": [{
          "id": "1234",
          "data": {
              "updatedby": "uid1",
              "resource": {
                  "resourceid": "abcd"
              }
          }
      }, {
          "id": "1235",
          "data": {
              "updatedby": "uid2",
              "resource": {
                  "resourceid": "pqrs"
              }
          }
      }, {
          "id": "1236",
          "data": {
              "updatedby": "uid3",
              "resource": {
                  "resourceid": "bert"
              }
          }
      }]
  }
  </code></pre>
  
  <p>I need to extract the content of the RESOURCE tag only from the json payload. Can you please help me formulate the regex? The below is what I tried and it doesn't invoke the parser.data method. </p>
  
  <pre><code>var parser = JSONStream.parse(['rows', true, /^resource/]);
  
  parser.on('data', function(data) {
      console.log('received the payload -do something');
  });
  </code></pre>