{"action":"opened","issue":{"url":"https://api.github.com/repos/cesanta/v7/issues/530","labels_url":"https://api.github.com/repos/cesanta/v7/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/cesanta/v7/issues/530/comments","events_url":"https://api.github.com/repos/cesanta/v7/issues/530/events","html_url":"https://github.com/cesanta/v7/issues/530","id":120569507,"number":530,"title":"Why is v7_to_string() taking a v7_val_t* instead of a v7_val_t?","user":{"login":"swisspol","id":627915,"avatar_url":"https://avatars.githubusercontent.com/u/627915?v=3","gravatar_id":"","url":"https://api.github.com/users/swisspol","html_url":"https://github.com/swisspol","followers_url":"https://api.github.com/users/swisspol/followers","following_url":"https://api.github.com/users/swisspol/following{/other_user}","gists_url":"https://api.github.com/users/swisspol/gists{/gist_id}","starred_url":"https://api.github.com/users/swisspol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swisspol/subscriptions","organizations_url":"https://api.github.com/users/swisspol/orgs","repos_url":"https://api.github.com/users/swisspol/repos","events_url":"https://api.github.com/users/swisspol/events{/privacy}","received_events_url":"https://api.github.com/users/swisspol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T16:25:10Z","updated_at":"2015-12-05T16:25:10Z","closed_at":null,"body":"As far as I can tell, the implementation of v7_to_string() does not reassign the pointer.\r\n\r\nThis prevents doing a simple `v7_to_string(v7, v7_array_get(v7, args, 0), NULL)`."}}