{"action":"created","issue":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1147","labels_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1147/labels{/name}","comments_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1147/comments","events_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1147/events","html_url":"https://github.com/ThemeFuse/Unyson/pull/1147","id":123336670,"number":1147,"title":"Check for json_last_error()","user":{"login":"andreiglingeanu","id":2979628,"avatar_url":"https://avatars.githubusercontent.com/u/2979628?v=3","gravatar_id":"","url":"https://api.github.com/users/andreiglingeanu","html_url":"https://github.com/andreiglingeanu","followers_url":"https://api.github.com/users/andreiglingeanu/followers","following_url":"https://api.github.com/users/andreiglingeanu/following{/other_user}","gists_url":"https://api.github.com/users/andreiglingeanu/gists{/gist_id}","starred_url":"https://api.github.com/users/andreiglingeanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreiglingeanu/subscriptions","organizations_url":"https://api.github.com/users/andreiglingeanu/orgs","repos_url":"https://api.github.com/users/andreiglingeanu/repos","events_url":"https://api.github.com/users/andreiglingeanu/events{/privacy}","received_events_url":"https://api.github.com/users/andreiglingeanu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-21T18:53:55Z","updated_at":"2016-01-04T17:40:47Z","closed_at":"2015-12-21T19:49:51Z","pull_request":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/pulls/1147","html_url":"https://github.com/ThemeFuse/Unyson/pull/1147","diff_url":"https://github.com/ThemeFuse/Unyson/pull/1147.diff","patch_url":"https://github.com/ThemeFuse/Unyson/pull/1147.patch"},"body":"Sometimes `$input_value` is not an array and we should not perform a json_decode(). This check will guard for this case."},"comment":{"url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/comments/168748075","html_url":"https://github.com/ThemeFuse/Unyson/pull/1147#issuecomment-168748075","issue_url":"https://api.github.com/repos/ThemeFuse/Unyson/issues/1147","id":168748075,"user":{"login":"andreiglingeanu","id":2979628,"avatar_url":"https://avatars.githubusercontent.com/u/2979628?v=3","gravatar_id":"","url":"https://api.github.com/users/andreiglingeanu","html_url":"https://github.com/andreiglingeanu","followers_url":"https://api.github.com/users/andreiglingeanu/followers","following_url":"https://api.github.com/users/andreiglingeanu/following{/other_user}","gists_url":"https://api.github.com/users/andreiglingeanu/gists{/gist_id}","starred_url":"https://api.github.com/users/andreiglingeanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreiglingeanu/subscriptions","organizations_url":"https://api.github.com/users/andreiglingeanu/orgs","repos_url":"https://api.github.com/users/andreiglingeanu/repos","events_url":"https://api.github.com/users/andreiglingeanu/events{/privacy}","received_events_url":"https://api.github.com/users/andreiglingeanu/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T17:40:47Z","updated_at":"2016-01-04T17:40:47Z","body":"It was a pretty hard case for me. I was supposed to traverse recursively all the options and check for the `switch` options in order to transform them. I will try to not introduce more hardcodes like that one. Thanks for fixing this."}}