mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
3.6 KiB
JSON
1 line
3.6 KiB
JSON
[{"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605269.279201, "message": "I am thinking of using the rid as a variable name", "group_id": 236, "id": 1213434}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605243.6000781, "message": "To avoid potential conflicts between two apps I need a KRL variable to have a unique name ( ie it's not present in other rulesets)", "group_id": 236, "id": 1213431}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605466.2588911, "message": "or window['temp_testVariable']=123", "group_id": 236, "id": 1213446}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605505.1285541, "message": "is there something similar in KRL?", "group_id": 236, "id": 1213448}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605390.9370201, "message": "in javascript we would do", "group_id": 236, "id": 1213439}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605432.401566, "message": "var data = \"testVariable\";\n\teval(\"var temp_\" + data + \"=123;\");", "group_id": 236, "id": 1213442}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605444.9036529, "message": "to get the variable temp_testVariable", "group_id": 236, "id": 1213443}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605644.842876, "message": "some reasons why I need that", "group_id": 236, "id": 1213458}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306605660.782337, "message": "I want to achieve interoperability between apps on the javascript level", "group_id": 236, "id": 1213459}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306608449.5676191, "message": "as an alternative to interoperability on the KRL level", "group_id": 236, "id": 1213638}, {"user_id": 4291, "stars": [], "topic_id": 37198, "date_created": 1306641593.902308, "message": "You can get the RID of the current ruleset as follows: page:env(\"rid\");", "group_id": 236, "id": 1216037}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306643190.856931, "message": "i want to create a var and the name of the var should be the rid:\n ax8888 = {\"somekey\":\"somevalue\"} ;", "group_id": 236, "id": 1216087}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306643064.9708371, "message": "okay but how do I create a krl var with it ?", "group_id": 236, "id": 1216080}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306643758.063215, "message": "I know I know... I have strange needs", "group_id": 236, "id": 1216098}, {"user_id": 4291, "stars": [], "topic_id": 37198, "date_created": 1306700135.2509339, "message": "Sorry, not sure how to do that dynamically, but you could use the RID as a key into a hash", "group_id": 236, "id": 1220063}, {"user_id": 763, "stars": [], "topic_id": 37198, "date_created": 1306865674.7035079, "message": "data['a1x1']['myvar] = 7", "group_id": 236, "id": 1239702}, {"user_id": 763, "stars": [], "topic_id": 37198, "date_created": 1306865656.215842, "message": "instead of putting the appid in the name of a variable, store your data in a struct", "group_id": 236, "id": 1239700}, {"user_id": 30494, "stars": [], "topic_id": 37198, "date_created": 1306866292.092587, "message": "Now that we have json functions to handle objects easily this becomes a very good idea. thanks", "group_id": 236, "id": 1239813}, {"user_id": 763, "stars": [], "topic_id": 37198, "date_created": 1306865704.268549, "message": "using a hash as a scope can give you what you need.", "group_id": 236, "id": 1239708}] |