Skip to content

JSonIgnoreProperties can't have both allowSetters and allowGetters #281

Closed Answered by eamonno
eamonno asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, nevermind, typically after an hour trying to find a solution I find one after posting. You can just use the JsonProperty(access = JsonProperty.Access.READ_ONLY) or WRITE_ONL?Y annotations on individual properties.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pjfanning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant