{"action":"closed","issue":{"url":"https://api.github.com/repos/freedombox/Plinth/issues/115","repository_url":"https://api.github.com/repos/freedombox/Plinth","labels_url":"https://api.github.com/repos/freedombox/Plinth/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/freedombox/Plinth/issues/115/comments","events_url":"https://api.github.com/repos/freedombox/Plinth/issues/115/events","html_url":"https://github.com/freedombox/Plinth/issues/115","id":60399741,"number":115,"title":"action scripts:  Make handling parameters and return values more comfortable","user":{"login":"fonfon","id":1867309,"avatar_url":"https://avatars.githubusercontent.com/u/1867309?v=3","gravatar_id":"","url":"https://api.github.com/users/fonfon","html_url":"https://github.com/fonfon","followers_url":"https://api.github.com/users/fonfon/followers","following_url":"https://api.github.com/users/fonfon/following{/other_user}","gists_url":"https://api.github.com/users/fonfon/gists{/gist_id}","starred_url":"https://api.github.com/users/fonfon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonfon/subscriptions","organizations_url":"https://api.github.com/users/fonfon/orgs","repos_url":"https://api.github.com/users/fonfon/repos","events_url":"https://api.github.com/users/fonfon/events{/privacy}","received_events_url":"https://api.github.com/users/fonfon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-09T19:53:06Z","updated_at":"2016-05-05T09:47:28Z","closed_at":"2016-05-05T09:47:28Z","body":"Passing parameters to and returning results from action scripts can be tedious.\r\n\r\nThere should be a more comfortable but still secure way. Something flexible and universal like JSON would be good, but it has to be safe (escaping malicious user input).\r\n\r\nAny 'best practice' to pass around key-value pairs (or more) in a sane and safe way would be highly appreciated. Otherwise people writing action scripts will all try to solve the same problem (i.e. here: https://github.com/freedombox/Plinth/pull/81/files#diff-da929b508af4cef3e8859fb70d87330aR240)"}}