title: How to pass a set of json data in javascript function?
body: <p>I have a data set as below:</p>
  
  <blockquote>
    <p>data = '{"a":1,"b":2,"c":3},{"a":4,"b":5,"c":6},{"a":7,"b":8,"c":9}';</p>
  </blockquote>
  
  <p>I am trying to make a function with the data set as its parameter, but the parameter wouldn't be read. Here is what I did:</p>
  
  <blockquote>
    <p>function add(data) { alert(data); } add(data);</p>
  </blockquote>
  
  <p>I only get [object Object],[object Object] ...
  What's the problem here? Thanks.</p>