Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] https://stackoverflow.com/questions/61553962/getting-nested-properties-with-system-text-json by dbc_MinLength
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

Testing JSON with keys present:
productIdString=gid://shopify/Product/4534543543316, originalSrcString=https://cdn.shopify.com/s/files/1/0286/pic.jpg, someIntegerValue=

Testing JSON with keys missing:
productIdString=, originalSrcString=, someIntegerValue=
productIdString=, originalSrcString=, someIntegerValue=
productIdString=, originalSrcString=, someIntegerValue=
productIdString=, originalSrcString=, someIntegerValue=
Cached Result
Last Run: 3:20:47 pm
Compile: 0.022s
Execute: 0.12s
Memory: 10.59Mb
CPU: 0.142s