string text = "{ \"prop1\": \"value1\" }"; var doc = JsonDocument.Parse(text); var val = doc.RootElement.GetProperty("prop1").GetString();