Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Switch by grmsjsn
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

Testing with JsonElement:
Type for metas["key-1"] is System.Text.Json.JsonElement
Type for modified metas["key-1"] is System.Text.Json.JsonElement
{
  "key-2": [],
  "key-1": [
    {
      "@name": "SYMBOL",
      "#text": "005930",
      "newproperty": "test value"
    },
    {
      "@name": "NAME",
      "#text": "Samsung Electronics",
      "newproperty": "test value"
    }
  ]
}
Cached Result
Last Run: 4:44:13 pm
Compile: 0.027s
Execute: 0.12s
Memory: 11.59Mb
CPU: 0.147s