{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-iot-device-sdk-arduino-yun/issues/10","repository_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-arduino-yun","labels_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-arduino-yun/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-arduino-yun/issues/10/comments","events_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-arduino-yun/issues/10/events","html_url":"https://github.com/aws/aws-iot-device-sdk-arduino-yun/issues/10","id":154222413,"number":10,"title":"Getting Key/Values from reported device shadow states","user":{"login":"lukeplausin","id":15171720,"avatar_url":"https://avatars.githubusercontent.com/u/15171720?v=3","gravatar_id":"","url":"https://api.github.com/users/lukeplausin","html_url":"https://github.com/lukeplausin","followers_url":"https://api.github.com/users/lukeplausin/followers","following_url":"https://api.github.com/users/lukeplausin/following{/other_user}","gists_url":"https://api.github.com/users/lukeplausin/gists{/gist_id}","starred_url":"https://api.github.com/users/lukeplausin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukeplausin/subscriptions","organizations_url":"https://api.github.com/users/lukeplausin/orgs","repos_url":"https://api.github.com/users/lukeplausin/repos","events_url":"https://api.github.com/users/lukeplausin/events{/privacy}","received_events_url":"https://api.github.com/users/lukeplausin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-11T11:38:46Z","updated_at":"2016-05-11T16:49:37Z","closed_at":"2016-05-11T16:49:37Z","body":"Hi All,\r\n\r\nI would like to use this function to get the reported property of my device shadow. Something like this:\r\nhttps://github.com/aws/aws-iot-device-sdk-arduino-yun#getValueByKey\r\n\r\nchar internalMessage[32];\r\nmyClient.getValueByKey(\"JSON-0\", \"state\\\"desired\\\"message\", &internalMessage, 32);\r\n\r\nI get a compile error - 'class aws_iot_mqtt_client' has no member named 'getValueByKey'.\r\n\r\nI couldn't find the getValueByKey function defined anywhere in the SDK.\r\n\r\nAm I doing something obviously wrong? How am I supposed to get properties of my state?\r\n\r\nThanks"}}