-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry for wasting everyones time, I somehow missed @JsonProperty when googling. |
Beta Was this translation helpful? Give feedback.
Sorry for wasting everyones time, I somehow missed @JsonProperty when googling.