{"action":"created","issue":{"url":"https://api.github.com/repos/stoiveyp/Alexa.NET.APL/issues/29","repository_url":"https://api.github.com/repos/stoiveyp/Alexa.NET.APL","labels_url":"https://api.github.com/repos/stoiveyp/Alexa.NET.APL/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/stoiveyp/Alexa.NET.APL/issues/29/comments","events_url":"https://api.github.com/repos/stoiveyp/Alexa.NET.APL/issues/29/events","html_url":"https://github.com/stoiveyp/Alexa.NET.APL/issues/29","id":393955669,"node_id":"MDU6SXNzdWUzOTM5NTU2Njk=","number":29,"title":"Unable to deserialize sample RenderDocument","user":{"login":"NiteLordz","id":2166208,"node_id":"MDQ6VXNlcjIxNjYyMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2166208?v=4","gravatar_id":"","url":"https://api.github.com/users/NiteLordz","html_url":"https://github.com/NiteLordz","followers_url":"https://api.github.com/users/NiteLordz/followers","following_url":"https://api.github.com/users/NiteLordz/following{/other_user}","gists_url":"https://api.github.com/users/NiteLordz/gists{/gist_id}","starred_url":"https://api.github.com/users/NiteLordz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiteLordz/subscriptions","organizations_url":"https://api.github.com/users/NiteLordz/orgs","repos_url":"https://api.github.com/users/NiteLordz/repos","events_url":"https://api.github.com/users/NiteLordz/events{/privacy}","received_events_url":"https://api.github.com/users/NiteLordz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-25T03:38:49Z","updated_at":"2018-12-25T19:52:11Z","closed_at":null,"author_association":"NONE","body":"If you go [here](https://developer.amazon.com/alexa/console/ask/displays) and try the sample \"Long text\" then export the code. \r\n\r\nwhen you try to deserialize that json you get an error of\r\n\r\nCannot deserialize the current JSON object (e.g. {\"name\":\"value\"}) into type 'System.Collections.Generic.IList`1\r\n\r\nfor the property \"fontWeight\" as it is a single element and not a list element. \r\n\r\nI tried to puta  JsonObject attribute on the class, but it didn't resolve the issue."},"comment":{"url":"https://api.github.com/repos/stoiveyp/Alexa.NET.APL/issues/comments/449870416","html_url":"https://github.com/stoiveyp/Alexa.NET.APL/issues/29#issuecomment-449870416","issue_url":"https://api.github.com/repos/stoiveyp/Alexa.NET.APL/issues/29","id":449870416,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTg3MDQxNg==","user":{"login":"stoiveyp","id":147125,"node_id":"MDQ6VXNlcjE0NzEyNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/147125?v=4","gravatar_id":"","url":"https://api.github.com/users/stoiveyp","html_url":"https://github.com/stoiveyp","followers_url":"https://api.github.com/users/stoiveyp/followers","following_url":"https://api.github.com/users/stoiveyp/following{/other_user}","gists_url":"https://api.github.com/users/stoiveyp/gists{/gist_id}","starred_url":"https://api.github.com/users/stoiveyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoiveyp/subscriptions","organizations_url":"https://api.github.com/users/stoiveyp/orgs","repos_url":"https://api.github.com/users/stoiveyp/repos","events_url":"https://api.github.com/users/stoiveyp/events{/privacy}","received_events_url":"https://api.github.com/users/stoiveyp/received_events","type":"User","site_admin":false},"created_at":"2018-12-25T19:52:11Z","updated_at":"2018-12-25T19:52:11Z","author_association":"OWNER","body":"@NiteLordz This was a great example - thank you. I made the example a test file as a RenderDocumentDirective to deserialize it as a single piece - and with the failed test I was able to publish v3.0.0\r\nStyle extensions can be strings or arrays - but were only arrays in the package, so that's fixed.\r\nThere was an issue deserializing APLValue when the type was a list (such as component items) and this has been fixed too.\r\nYour hint text had unescaped quotes, so I had to alter that. But other than that and the directive type I had to add, the result matches your input and appears correct.\r\nHope this helps and you're having a good holiday period.\r\n"}}
{"actor":{"display_login":"stoiveyp"}}