mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
[{"user_id": 43808, "stars": [], "topic_id": 48695, "date_created": 1323748693.817507, "message": "I can give an example if you want one.", "group_id": 10410, "id": 2741319}, {"user_id": 43808, "stars": [], "topic_id": 48695, "date_created": 1323748412.422024, "message": "Hey Thomas,\n\nI'm wondering if there is a preferred method (and/or example) to determine if or if not to run some code depending if a particular value matches to a particular YAML key?\n\nI've tried some things like find_each (and granted, I'm a Rails novice), but I cannot find something that seems to work.\n\nThanks,", "group_id": 10410, "id": 2741313}, {"user_id": 7586, "stars": [], "topic_id": 48695, "date_created": 1323748777.354126, "message": "An example would be great.", "group_id": 10410, "id": 2741320}, {"user_id": 7586, "stars": [], "topic_id": 48695, "date_created": 1323748798.909956, "message": "Should be as simple as: data.filename.value == \"somevalue\"", "group_id": 10410, "id": 2741321}, {"user_id": 43808, "stars": [], "topic_id": 48695, "date_created": 1323749882.7563729, "message": "Okay, this is quick and a little sloppy, but I think it gets the idea across: https://gist.github.com/1470557", "group_id": 10410, "id": 2741336}, {"user_id": 43808, "stars": [], "topic_id": 48695, "date_created": 1323749322.3602171, "message": "hm... I couldn't get this to work, I'll get a gist ready", "group_id": 10410, "id": 2741327}, {"user_id": 7586, "stars": [], "topic_id": 48695, "date_created": 1323753906.6870849, "message": "First, probably best to keep with Ruby conventions, using underscores instead of dashes or camelCasing.", "group_id": 10410, "id": 2741389}] |