As you mentioned, the latest SDKs use Newtonsoft for JSON (de)serialising. You could post it as a feature request here, or even better, add a feature request to the GitHub repo.
Json Serialization:Azure IOT Hub SDK - System.Text.Json
Chandra Mohan
461
Reputation points
I would like to know whether 'System.Text.Json' is supported by latest Azure IOT SDK's? To my understanding, Azure IOT SDK's has 'Newtonsoft.json' as dependency and is the default serializer used for device twins.
The default JsonSerializer for Asp.net core 6.0 is 'System.Text.Json'. It will be great if the same serializer can be used only across all azure sdk dependencies. Please advise.