Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] .NET 9 https://stackoverflow.com/questions/79285045/how-can-add-comments-when-serialize-to-json by dbc_MinLength
Environment version: .NET 9.0.0 (9.0.0), Unix 6.8.0.1014
System.Text.Json version: System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

{
  "Name": "Jack" /*Name of the person*/,
  "Age": 22 /*Age of the person*/
}
Cached Result
Last Run: 8:38:43 pm
Compile: 0.032s
Execute: 0.11s
Memory: 9.72Mb
CPU: 0.142s