title: How to filter json in javascript?
body: <p>Ok, so my code retrieves json from a websocket and currently prints all the json to console. What I want to do is store pieces of information as variables. How can I turn:</p>
  
  <pre><code>{
      "type": "question",
      "ts": "2018-06-30T00:05:53.685Z",
      "totalTimeMs": 10000,
      "timeLeftMs": 10000,
      "questionId": 46220,
      "question": "In wrestling, what term refers to pretending that scripted theatrics are totally real?",
      "category": "Entertainment",
      "answers": [{
              "answerId": 140757,
              "text": "Gas"
          },
          {
              "answerId": 140758,
              "text": "Kayfabe"
          },
          {
              "answerId": 140759,
              "text": "House show"
          }
      ]
  </code></pre>
  
  <p>Into: </p>
  
  <pre><code>    Question = In wrestling, what term refers to pretending that scripted theatrics are totally real?
  pAnswer1 = Gas
  pAnswer2 = Kayfabe
  pAnswer3 = House show
  </code></pre>
  
  <p>I'm using node.</p>