Created
November 22, 2022 17:42
-
-
Save jskeet/6c423376228fb0ad6e9ea1d2b1a0c013 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json; | |
string json = "{\"id\":\"5005t000004RMNTAA4\",\"success\":true,\"errors\":[]}"; | |
var dict = JsonConvert.DeserializeObject<Dictionary<string, object>>(json); | |
Console.WriteLine(string.Join(", ", dict.Keys)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment