Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can do like this first try to parse your Json String here \</p> <p><a href="http://json.parser.online.fr/" rel="nofollow">http://json.parser.online.fr/</a></p> <p>if it passed there then goto <a href="http://json2csharp.com/" rel="nofollow">http://json2csharp.com/</a> ... paste your string ... it will generate a Class with Attributes</p> <p>then </p> <p>paste the class inside your code . and create new object for the class</p> <p>and call Deserialize </p> <pre><code> JavaScriptSerializer js = new JavaScriptSerializer(); var Data = DeserializeFromJson&lt;RootObject&gt;("Json String"); public T DeserializeFromJson&lt;T&gt;(string json) { System.Web.Script.Serialization.JavaScriptSerializer ObjJSerializer = new System.Web.Script.Serialization.JavaScriptSerializer(); T deserializedProduct = ObjJSerializer.Deserialize&lt;T&gt;(json); return deserializedProduct; } public class Result { public string Id { get; set; } public string ModerationStatus { get; set; } public string LastModificationTime { get; set; } public bool IsRatingsOnly { get; set; } public int TotalCommentCount { get; set; } public int Rating { get; set; } public int RatingRange { get; set; } public bool IsRecommended { get; set; } public int TotalFeedbackCount { get; set; } public int TotalPositiveFeedbackCount { get; set; } public int TotalNegativeFeedbackCount { get; set; } public string DisplayLocale { get; set; } public string SubmissionTime { get; set; } public bool IsFeatured { get; set; } public string LastModeratedTime { get; set; } public string ProductId { get; set; } public string AuthorId { get; set; } } public class Brand { public string Id { get; set; } public string Name { get; set; } } public class __invalid_type__3240234 { public string Id { get; set; } public string Name { get; set; } public string Description { get; set; } public string BrandExternalId { get; set; } public Brand Brand { get; set; } public string CategoryId { get; set; } public string ProductPageUrl { get; set; } } public class Products { public __invalid_type__3240234 __invalid_name__3240234 { get; set; } } public class Z7knrbjunvi022pe4swqp18fra { public string Id { get; set; } public string ModerationStatus { get; set; } } public class Zsknvekklaxl56nzwliultz5mp { public string Id { get; set; } public string ModerationStatus { get; set; } } public class Authors { public Z7knrbjunvi022pe4swqp18fra z7knrbjunvi022pe4swqp18fra { get; set; } public Zsknvekklaxl56nzwliultz5mp zsknvekklaxl56nzwliultz5mp { get; set; } } public class Includes { public Products Products { get; set; } public Authors Authors { get; set; } } public class RootObject { public List&lt;Result&gt; Results { get; set; } public Includes Includes { get; set; } public bool HasErrors { get; set; } public int Offset { get; set; } public int Limit { get; set; } public int TotalResults { get; set; } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload