Follow by Email

Thursday, 1 August 2013

How to get the particular value from Json in C#

// To get the particular value out  from Json

                                                $.each(objData.groups, function (i, item) {

                                                    alert("item.CustomerID=" + item.CustomerID);
                                                });

Where:

objData= Json,

groups = name of Json , like:
{"groups":[{"CustomerID":10432,"ParentID":10,"Level":0,"Placement":0,"IndentedSort":117,"FirstName":" LLC" }]}

0 comments:

Post a Comment


                                                            

 
Design by Abhinav Ranjan Sinha