I have a third party server spewing a json response I need to parse. It is a single-string-property response with the property name containing a dot. How do I go about extracting the string value via System.Text.Json?
Ex:
{ "m.server": "value I want to read"}
{ "m.server": "value I want to read"}
With
jq
jq
I would get at it via
jq '.["m.server"]'
jq '.["m.server"]'
(where if the property was just "server", the syntax would just be
jq '.server'
jq '.server'
), but I have not come across this issue in a .net context before.