Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
3.human.cs by lamminh
Environment version: .NET 9.0.0 (9.0.0)
System.Text.Json version: System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

Input JSON: 
// A person
{
    "Id" : 1 /* Person's ID */,
    "Name" : "Foo" // Person's name
}            

Comments found in JSON using Utf8JsonReader:
   A person
   Person's ID 
   Person's name

Reserialized System.Text.Json.JsonDocument:
{
  "Id": 1,
  "Name": "Foo"
}
Re-serialized Person:
{"Id":1,"Name":"Foo"}
Cached Result
Last Run: 10:16:13 am
Compile: 0.028s
Execute: 0.13s
Memory: 9.18Mb
CPU: 0.158s