MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.13k stars 21.21k forks source link

Documented way of using NewtonsoftJsonObjectSerializer as default Serializer does not work #122534

Open ulluoink opened 2 months ago

ulluoink commented 2 months ago

when trying to use the documented way of using NewtonSoft as default Serializer this just does not work: doing something like this in a http-triggered function:

return new OkObjectResult(myCustomObject);

will still use the System.Text.Json serializer.

link to microsoft documentation: https://learn.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-process-guide?tabs=windows#customizing-json-serialization


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 months ago

@ulluoink Thanks for your feedback! We will investigate and update as appropriate.

ggailey777 commented 2 months ago

+ @mattchenderson for awareness.

assign:mattchenderson

ulluoink commented 1 month ago

any new information? is anybody working on this?