Skip to content

Instantly share code, notes, and snippets.

@Vannevelj
Created June 19, 2014 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vannevelj/07c4207e83d989be697c to your computer and use it in GitHub Desktop.
Save Vannevelj/07c4207e83d989be697c to your computer and use it in GitHub Desktop.
json parsing
"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