Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ConvertFromJSON
- {
- public string OrganizationGuid { get; set; }
- public string ShortName { get; set; }
- public string Name { get; set; }
- public string ShortDescription { get; set; }
- public string LogoImageGuid { get; set; }
- public int MinAge { get; set; }
- public int? MaxAge { get; set; }
- public string Adress { get; set; }
- public string Site { get; set; }
- public int Views { get; set; }
- public List<object> Tags { get; set; }
- public List<object> Categories { get; set; }
- public int PositiveRatings { get; set; }
- public int NegativeRatings { get; set; }
- }
- public class RootObject
- {
- public int Count { get; set; }
- public List<ConvertFromJSON> Data { get; set; }
- }
- public static class DSRLZ
- {
- public static string dsrlzFromJson()
- {
- var dsrlz = JsonConvert.DeserializeObject<ConvertFromJSON>(Response.request().Result).ToString();
- return dsrlz;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement