Closed roberto-mardeni closed 5 years ago
This is impacting us too.
Is this still hapenning?
@roberto-mardeni @kevinwedwards is this still impacting you with the current production version of 2.0? That version doesn't use 9.0.1, so I wouldn't expect this to be an issue there. Can you confirm?
Closing as no-response. This should not impact 2.0, but do let us know if you continue to experience issues.
Will have to try it again, haven't done so in a while.
Hi... if we are still paying attention to this, I am facing exactly same issue when I ported my 2.2 Web Project to 3.0. Anyone has any pointer to fixing this, please share!
Using the StringEnumConverter does not result in enums serialized as strings in Azure Functions for the latest version of Newtonsoft.Json, but it does work for v9.0.1
Source/destination types
Source/destination JSON
Expected behavior
Type should be serialized as string, in this example "Document"
Actual behavior
Steps to reproduce
Using version 9.0.1 works, upgrading to any version after that does not.
I tested similar code in Console Apps in both .Net Framework & .Net Core and the problem does not manifest there, only in Azure Functions.
Moved from https://github.com/JamesNK/Newtonsoft.Json/issues/1772