Deserialization ignore Gson annotations for a HttpTrigger function
agilisticdev opened this issue · 3 comments
I am developing a new Http trigger function in Kotlin. The function is a POST on a certain resource. On of my requirement is to use snake case instead of camel case. Here is the problem I am facing: the deserialization from json -> object completely ignores the @SerializedName annotation (from Gson). It works if my json element names are exactly identical to the class member but does not work - creates an empty object - when I post a json that uses snake case!
Why the Gson annotations are ignored? I tried Jackson annotation @JsonProperty and it ignores them too!
It used to work less than a month ago!!!
azure-functions-java-library version 1.3.1
It
Hey @agilisticdev, can you please try it with the latest version, we are updating the latest release notes in this issue Azure/azure-functions-java-worker#400