title: Parse JSON data using Flex / Bison
body: <p>I'm receiveing json data in the following format...</p>
  
  <pre><code>{
      "timestamp":55759,
      "sttOutput":
      {
          "time":55759,"words":
          [
              {"startTime":1.81,"duration":0.31,"word":"HEY","score":0.97},
              {"startTime":2.14,"duration":0.31,"word":"WHERE'S","score":0.87},
              {"startTime":2.45,"duration":0.47,"word":"FACEBOOK","score":1.0},
              {"startTime":2.92,"duration":0.57,"word":"TRADING","score":1.0}
          ]
      },
      "kwsOutput":
      {
          "time":55759,"words":
          [
              {"startTime":1.96,"duration":0.19,"word":"FACEBOOK=stock ","score":0.63},
              {"startTime":1.82,"duration":0.55,"word":"WHERE=quest IS FACEBOOK=stock TRADING=stock-act ","score":0.74},
              {"startTime":1.83,"duration":0.55,"word":"WHERE'S=quest FACEBOOK=stock TRADING=stock-act ","score":0.85}
          ]
      }
  }
  </code></pre>
  
  <p>I would like to parse the data with flex/bison into valid queries that the google calendar API can consume.</p>
  
  <p>Any tips or help on how to do this that demonstrate best practices?</p>