{"action":"opened","issue":{"url":"https://api.github.com/repos/schmittjoh/serializer/issues/558","repository_url":"https://api.github.com/repos/schmittjoh/serializer","labels_url":"https://api.github.com/repos/schmittjoh/serializer/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/schmittjoh/serializer/issues/558/comments","events_url":"https://api.github.com/repos/schmittjoh/serializer/issues/558/events","html_url":"https://github.com/schmittjoh/serializer/issues/558","id":138328656,"number":558,"title":"Why do we need this check inside SerializedName constructor, if there is name?","user":{"login":"idchlife","id":4563032,"avatar_url":"https://avatars.githubusercontent.com/u/4563032?v=3","gravatar_id":"","url":"https://api.github.com/users/idchlife","html_url":"https://github.com/idchlife","followers_url":"https://api.github.com/users/idchlife/followers","following_url":"https://api.github.com/users/idchlife/following{/other_user}","gists_url":"https://api.github.com/users/idchlife/gists{/gist_id}","starred_url":"https://api.github.com/users/idchlife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idchlife/subscriptions","organizations_url":"https://api.github.com/users/idchlife/orgs","repos_url":"https://api.github.com/users/idchlife/repos","events_url":"https://api.github.com/users/idchlife/events{/privacy}","received_events_url":"https://api.github.com/users/idchlife/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-03T23:25:31Z","updated_at":"2016-03-03T23:25:31Z","closed_at":null,"body":"I encountered this part when using PhpStorm with PHP Annotations plugin, when I wrote name=\"my_preferred_name\" and got error \"values\" key undefined.\r\n\r\nhttps://github.com/schmittjoh/serializer/blob/master/src/JMS/Serializer/Annotation/SerializedName.php#L34\r\n\r\nSo, if there is public property $name, why is there value? How about PR for this thing, whatcha guys think if I manage one?"}}