zijianhuang / webapiclientgen

Strongly Typed Client API Generators generate strongly typed client APIs in C# .NET and in TypeScript for jQuery and Angular 2+ from ASP.NET Web API and .NET Core Web API
MIT License
167 stars 38 forks source link

support attributes in System.Text.Json.Serialization Namespace #139

Open zijianhuang opened 7 months ago

zijianhuang commented 7 months ago

https://learn.microsoft.com/en-us/dotnet/api/system.text.json.serialization

Need to further study vendor recommended ways: https://www.newtonsoft.com/json/help/html/JsonObjectAttributeOptIn.htm https://github.com/dotnet/runtime/issues/30180

Need to clarify Microsoft's position.

DataContractAttribute is primarily for WCF and DataContract serializer. WCF service is not a built-in framework in .NET. Even though DataContractAttribute is universal, not really exclusive to WCF.

zijianhuang commented 7 months ago

wait for response from https://github.com/dotnet/docs/issues/38687