Files
2012-02-21 01:15:00 -05:00

1 line
1.0 KiB
JSON

[{"user_id": 27150, "stars": [], "topic_id": 17097, "date_created": 1301872483.3572221, "message": "other json parser recommendations welcome", "group_id": 94, "id": 518667}, {"user_id": 7131, "stars": [], "topic_id": 17097, "date_created": 1301874059.1670949, "message": "sjson looks nice: https://github.com/debasishg/sjson", "group_id": 94, "id": 518769}, {"user_id": 27150, "stars": [], "topic_id": 17097, "date_created": 1301872434.3287561, "message": "liftjson was ok to a point, but i get completely stuck with reading objects from a json array I parsed. Stuff like this doesn't add up at all:\n getid(h2(0)) makes JsonAST.JValue = JField(_id,JString(abc))\nvs\nh2.map(getid) makes JsonAST.JValue = JArray(List(JField(_id,JNothing), JField(_id,JNothing), JField(_id,JNothing)))\nwhere are the strings? Why does everything have to be buried in JArray(List(JObject(List(JField(... ?", "group_id": 94, "id": 518663}, {"user_id": 27150, "stars": [], "topic_id": 17097, "date_created": 1302999696.0904429, "message": "neat- thanks", "group_id": 94, "id": 714148}]