jsii icon indicating copy to clipboard operation
jsii copied to clipboard

dotnet: investigate migrating to System.Text.Json

Open RomainMuller opened this issue 5 years ago • 2 comments

The System.Text.Json API is a high-throughput substitute for the JSON.net API that we are currently using, and is part of the .NET SDK 3.0 and up. This is supposed to have same or better performance and would reduce the external dependency surface.

Task is to investigate whether it could and should be used.

RomainMuller avatar Feb 10 '20 16:02 RomainMuller

See: https://docs.microsoft.com/dotnet/standard/serialization/system-text-json-how-to

RomainMuller avatar Feb 10 '20 16:02 RomainMuller

An addition to this may be https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-source-generation?pivots=dotnet-6-0 either at the jsii level or app level. In theory can make things more explicit as well as improving throughput.

RichiCoder1 avatar Jul 12 '22 01:07 RichiCoder1