Closed birojnayak closed 10 months ago
@rypdal @Oberon00 ^^ thought on above
Originally we used Newtonsoft because we wanted to support older .NET versions. But I had once already prepared a PR to remove the Newtonsoft depdendency: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1270
This is not a bug but future direction for all AWS libraries those are part of Opentelemetry. We would like to make them AOT compatible
While investigating, OpenTelemetry.Instrumentation.AWSLambda takes dependency on Newtonsoft.Json. Are there any restriction on using System.Text.Json/JsonSerializer.Deserialize ? If not, let me know happy to submit PR.