Ok, I'd like one more little bit of help with SuperObject: How would I create a JSON object using SO from a CSV file that looks like this? What would it look like?

Ok, I'd like one more little bit of help with SuperObject: How would I create a JSON object using SO from a CSV file that looks like this? What would it look like?

"hdr1,hdr2,hdr3 <-- header fields, data recs follow --v
w1,w2,w3
x1,x2,x3
y1,y2,y3
z1,z2,z3"

Comments

  1. You'd have an array of objects, each object containing three values, named as per the headers. Worth visiting http://json.org to make sure that you are clear on the terminology of JSON.

    ReplyDelete
  2. Surely it's not difficult to emit an array of objects

    ReplyDelete

Post a Comment