-
Notifications
You must be signed in to change notification settings - Fork 66
Description
As mentioned in this pull request (#232), the function worker will switch from Jackson to Gson.
Currently it is possible to only add Jackson annotations as dependency to a function project and to rely on the Jackson features like Ignore, PropertyOrder, CustomRoot on your model classes...
I haven't been able to verify that the new worker version will break the current behavior. But normally Gson does not respect Jackson annotations.
To check
Can you please verify that the function code (https://github.com/ruedih/azure-functions-jackson-vs-gson-example) will still return
{
"somethingToShow": "should be visible."
}
if you call it with GET http://localhost:7071/api/HttpTrigger-Java
and the new "Gson worker"?
Breaking change expected
I'd expect that the change breaks the current behavior and it now returns:
{
"somethingToShow": "should be visible.",
"somethingToHide": "should not be visible."
}
Thank you for your help 😺