webapiclientgen icon indicating copy to clipboard operation
webapiclientgen copied to clipboard

support attributes in System.Text.Json.Serialization Namespace

Open zijianhuang opened this issue 1 year ago • 1 comments

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 avatar Dec 09 '23 00:12 zijianhuang

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

zijianhuang avatar Dec 09 '23 01:12 zijianhuang