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

1 line
2.8 KiB
JSON

[{"user_id": 30462, "stars": [], "topic_id": 35797, "date_created": 1305730568.6258571, "message": "What happens when you do?", "group_id": 236, "id": 1098307}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305730447.9895561, "message": "getEavJson({\"ticker\":ticker});", "group_id": 236, "id": 1098247}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305730437.211556, "message": "it seems it is not possible to pass some json to a krl function like this :", "group_id": 236, "id": 1098240}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305730474.8102601, "message": "or is it?", "group_id": 236, "id": 1098261}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305730924.5347979, "message": "getEavJson = function(params){\n user = ent:user;\n password = ent:password;\n apikey = ent:apikey;\n params = params.put({\"apikey\":apikey});\n.....\n}", "group_id": 236, "id": 1098439}, {"user_id": 763, "stars": [], "topic_id": 35797, "date_created": 1305732721.8247781, "message": "also note that variables in KRL are immutable. you can't say x = x + 1, you have to say y = x + 1", "group_id": 236, "id": 1099079}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305730952.827246, "message": "so the put fails", "group_id": 236, "id": 1098447}, {"user_id": 763, "stars": [], "topic_id": 35797, "date_created": 1305732683.5920279, "message": ".encode() and .decode() are the right way to encode/decode json.", "group_id": 236, "id": 1099064}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305730894.029901, "message": "the krl function is declared like this:", "group_id": 236, "id": 1098430}, {"user_id": 30462, "stars": [], "topic_id": 35797, "date_created": 1305731050.07638, "message": "suggested workaround: in the function try myJSON=params.encode().", "group_id": 236, "id": 1098474}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305731114.9373281, "message": "I tried this params=params.as(\"json\");", "group_id": 236, "id": 1098495}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305731124.0016191, "message": "i'll try your workaround", "group_id": 236, "id": 1098501}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305730940.3615351, "message": "but KRL sees params as a string", "group_id": 236, "id": 1098443}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305732859.183568, "message": "oh right thanks. i always forget that.", "group_id": 236, "id": 1099117}, {"user_id": 30494, "stars": [], "topic_id": 35797, "date_created": 1305733220.3019011, "message": "sorry for being lazy to check the docs, but what type of variable does a function accept?", "group_id": 236, "id": 1099217}]