Created
June 19, 2014 09:37
-
-
Save Vannevelj/07c4207e83d989be697c to your computer and use it in GitHub Desktop.
json parsing
This file contains 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
"features": [ | |
{ | |
"name":"kiosk_mode" | |
}, | |
{ | |
"name":"create_contacts" | |
}, | |
{ | |
"name":"create_quotes", | |
"dependencies": [ | |
"create_contacts" | |
] | |
} | |
], | |
[JsonProperty("features")] | |
public IList<Feature> Features { get; set; } | |
public sealed class Feature | |
{ | |
[JsonProperty("name")] | |
public string Name { get; set; } | |
[JsonProperty("dependencies")] | |
public IList<Feature> Dependencies { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment