Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created January 27, 2020 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/ec0fb204fd80ae459e65bc46bb26adfe to your computer and use it in GitHub Desktop.
Save BetterProgramming/ec0fb204fd80ae459e65bc46bb26adfe to your computer and use it in GitHub Desktop.
class SimplePojo {
private String name;
@JsonProperty(value = "json_name",
required = true,
access = ACCESS.READ_ONLY)
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment