It seems that from version 109 to 110 RestSharp has dependency on System.Text.Json >= 7.0.2 for net6.0.
I am using the library on an net6.0 Azure functions project. Once updating to RestSharp 110 I get the issue that System.Text.Json 7.0.2 dll cannot be found because Azure functions projects loads version 6. The error is only thrown when RestSharp is invoked, there are no compilation errors and the Azure function starts fine. The error is also thrown both locally and when the app is published.
Any reason why net6.0 requires v7.0.2 for System.Text.Json? Any suggestions for a workaround on this so that I am able to update RestSharp past 109 which works without issues.
I tried to update RestSharp to v110 from v109. My Azure functions project is net6.0. It loads System.Text.Json v6 and errors are thrown that v7 cannot be found.