{"action":"created","issue":{"url":"https://api.github.com/repos/jerryscript-project/jerryscript/issues/2096","repository_url":"https://api.github.com/repos/jerryscript-project/jerryscript","labels_url":"https://api.github.com/repos/jerryscript-project/jerryscript/issues/2096/labels{/name}","comments_url":"https://api.github.com/repos/jerryscript-project/jerryscript/issues/2096/comments","events_url":"https://api.github.com/repos/jerryscript-project/jerryscript/issues/2096/events","html_url":"https://github.com/jerryscript-project/jerryscript/pull/2096","id":273770558,"number":2096,"title":"Add api: jerry_get_value","user":{"login":"jiangzidong","id":15059452,"avatar_url":"https://avatars1.githubusercontent.com/u/15059452?v=4","gravatar_id":"","url":"https://api.github.com/users/jiangzidong","html_url":"https://github.com/jiangzidong","followers_url":"https://api.github.com/users/jiangzidong/followers","following_url":"https://api.github.com/users/jiangzidong/following{/other_user}","gists_url":"https://api.github.com/users/jiangzidong/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangzidong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangzidong/subscriptions","organizations_url":"https://api.github.com/users/jiangzidong/orgs","repos_url":"https://api.github.com/users/jiangzidong/repos","events_url":"https://api.github.com/users/jiangzidong/events{/privacy}","received_events_url":"https://api.github.com/users/jiangzidong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-14T12:12:13Z","updated_at":"2017-11-14T12:15:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/jerryscript-project/jerryscript/pulls/2096","html_url":"https://github.com/jerryscript-project/jerryscript/pull/2096","diff_url":"https://github.com/jerryscript-project/jerryscript/pull/2096.diff","patch_url":"https://github.com/jerryscript-project/jerryscript/pull/2096.patch"},"body":"It is used to get the reference value from a error value\r\n\r\nRelated issue #2080 \r\n\r\nIf the input value is an error, then the api will return the acquired its reference value. If the input value is not an error, the api will return the acquired input value. So the caller need to release the return value.\r\n\r\nIt is a necessary supplement for jerry_value_clear_error_flag, because the jerry_value_clear_error_flag will change the input value directly and release the error-box automatically, which maybe not what developers expect.\r\n\r\n@zherczeg @martijnthe \r\n\r\nJerryScript-DCO-1.0-Signed-off-by: Zidong Jiang zidong.jiang@intel.com"},"comment":{"url":"https://api.github.com/repos/jerryscript-project/jerryscript/issues/comments/344241292","html_url":"https://github.com/jerryscript-project/jerryscript/pull/2096#issuecomment-344241292","issue_url":"https://api.github.com/repos/jerryscript-project/jerryscript/issues/2096","id":344241292,"user":{"login":"jiangzidong","id":15059452,"avatar_url":"https://avatars1.githubusercontent.com/u/15059452?v=4","gravatar_id":"","url":"https://api.github.com/users/jiangzidong","html_url":"https://github.com/jiangzidong","followers_url":"https://api.github.com/users/jiangzidong/followers","following_url":"https://api.github.com/users/jiangzidong/following{/other_user}","gists_url":"https://api.github.com/users/jiangzidong/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangzidong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangzidong/subscriptions","organizations_url":"https://api.github.com/users/jiangzidong/orgs","repos_url":"https://api.github.com/users/jiangzidong/repos","events_url":"https://api.github.com/users/jiangzidong/events{/privacy}","received_events_url":"https://api.github.com/users/jiangzidong/received_events","type":"User","site_admin":false},"created_at":"2017-11-14T12:15:49Z","updated_at":"2017-11-14T12:15:49Z","author_association":"CONTRIBUTOR","body":"I will add the doc if the reviewers are OK with the api's signature and semantic"}}
{"actor":{"display_login":"jiangzidong"}}