Created
August 8, 2013 12:41
-
-
Save paigecook/6184235 to your computer and use it in GitHub Desktop.
Classes created from JSON-Example for Blog Post 8/8/2013
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
public class Rootobject | |
{ | |
public Parameters parameters { get; set; } | |
public Termhint[] termHints { get; set; } | |
public int total { get; set; } | |
} | |
public class Parameters | |
{ | |
public string tbdb { get; set; } | |
public string service { get; set; } | |
public string template { get; set; } | |
public string term_prefix { get; set; } | |
} | |
public class Termhint | |
{ | |
public string name { get; set; } | |
public string id { get; set; } | |
public string index { get; set; } | |
public Value[] values { get; set; } | |
public Facet[] facets { get; set; } | |
} | |
public class Value | |
{ | |
public string value { get; set; } | |
public string pre_em { get; set; } | |
public string em { get; set; } | |
public string post_em { get; set; } | |
public string nature { get; set; } | |
public string id { get; set; } | |
} | |
public class Facet | |
{ | |
public string id { get; set; } | |
public string name { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment