|
I'm currently trying to access the new Dependabot Alerts API (https://docs.github.com/en/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository) by expanding this project. However, the response contains the word "package" as a key in the JSON response, which prohibits the deserialization of that item, as I can't match that name with the member variable. Is there a way (for example through an annotation) to tell the parser to map "package" to something else? Thank you for your help. |
Answered by
togamid
Oct 25, 2022
Replies: 1 comment
|
Sorry for wasting everyones time, I somehow missed @JsonProperty when googling. |
0 replies
Answer selected by
togamid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for wasting everyones time, I somehow missed @JsonProperty when googling.