{"action":"created","issue":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/935","labels_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/935/comments","events_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/935/events","html_url":"https://github.com/FasterXML/jackson-databind/issues/935","id":106549576,"number":935,"title":"@JsonProperty(access = Access.READ_ONLY) - unexpected behaviour","user":{"login":"weaselmetal","id":13795044,"avatar_url":"https://avatars.githubusercontent.com/u/13795044?v=3","gravatar_id":"","url":"https://api.github.com/users/weaselmetal","html_url":"https://github.com/weaselmetal","followers_url":"https://api.github.com/users/weaselmetal/followers","following_url":"https://api.github.com/users/weaselmetal/following{/other_user}","gists_url":"https://api.github.com/users/weaselmetal/gists{/gist_id}","starred_url":"https://api.github.com/users/weaselmetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaselmetal/subscriptions","organizations_url":"https://api.github.com/users/weaselmetal/orgs","repos_url":"https://api.github.com/users/weaselmetal/repos","events_url":"https://api.github.com/users/weaselmetal/events{/privacy}","received_events_url":"https://api.github.com/users/weaselmetal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-15T12:56:16Z","updated_at":"2015-09-16T06:15:47Z","closed_at":null,"body":"Hey,\r\n\r\nI was hoping to make use of @JsonProperty(access = Access.READ_ONLY), but failed.\r\n\r\nAssume this class:\r\n\r\n```\r\npublic class TestPojo\r\n{\r\n    private String firstName;\r\n\r\n    private String lastName;\r\n\r\n    @JsonProperty(access = Access.READ_ONLY)\r\n    public String getFullName()\r\n    {\r\n        return firstName + \" \" + lastName;\r\n    }\r\n\r\n    public String getFirstName()\r\n    {\r\n        return firstName;\r\n    }\r\n\r\n    public void setFirstName(String firstName)\r\n    {\r\n        this.firstName = firstName;\r\n    }\r\n\r\n    public String getLastName()\r\n    {\r\n        return lastName;\r\n    }\r\n\r\n    public void setLastName(String lastName)\r\n    {\r\n        this.lastName = lastName;\r\n    }\r\n}\r\n```\r\n\r\nI couldn't find a way to stop the deserializer from attempting to deserialize the field \"fullName\".\r\nThe only thing that helps is to create a setter and annotate it with `@JsonIgnore`. However, that setter does not make sense and I don't want to have it. Is this a bug in behaviour or am I missing something? Thanks\r\n"},"comment":{"url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/comments/140640486","html_url":"https://github.com/FasterXML/jackson-databind/issues/935#issuecomment-140640486","issue_url":"https://api.github.com/repos/FasterXML/jackson-databind/issues/935","id":140640486,"user":{"login":"weaselmetal","id":13795044,"avatar_url":"https://avatars.githubusercontent.com/u/13795044?v=3","gravatar_id":"","url":"https://api.github.com/users/weaselmetal","html_url":"https://github.com/weaselmetal","followers_url":"https://api.github.com/users/weaselmetal/followers","following_url":"https://api.github.com/users/weaselmetal/following{/other_user}","gists_url":"https://api.github.com/users/weaselmetal/gists{/gist_id}","starred_url":"https://api.github.com/users/weaselmetal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaselmetal/subscriptions","organizations_url":"https://api.github.com/users/weaselmetal/orgs","repos_url":"https://api.github.com/users/weaselmetal/repos","events_url":"https://api.github.com/users/weaselmetal/events{/privacy}","received_events_url":"https://api.github.com/users/weaselmetal/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T06:15:47Z","updated_at":"2015-09-16T06:15:47Z","body":"Thanks for dealing with the issue and sorry for the lack of details in my description. Afaik Access.READ_ONLY has just been added in 2.6."}}