aws / jsii

jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS Cloud Development Kit to deliver polyglot libraries from a single codebase!
https://aws.github.io/jsii
Apache License 2.0
2.64k stars 244 forks source link

dotnet: investigate migrating to System.Text.Json #1247

Open RomainMuller opened 4 years ago

RomainMuller commented 4 years ago

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 commented 4 years ago

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

RichiCoder1 commented 2 years ago

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.