Manikandan Thiagarajan
asked on
Parsing the json data
I want to parse the JSON Data in to grid
I want to make a ajax call and get the json values and display in to grid
could you please help me the pseudo code
I want to make a ajax call and get the json values and display in to grid
could you please help me the pseudo code
What grid?
JSON can be parsed using JSON.parse(jsonstring);
But most grid implementations will automatically do the parsing for you.
If you are using jQuery to AJAX the data then jQuery will parse it for you.
So unless we have a context we can't give you any more information than the above.
JSON can be parsed using JSON.parse(jsonstring);
But most grid implementations will automatically do the parsing for you.
If you are using jQuery to AJAX the data then jQuery will parse it for you.
$.ajax( {
url: url,
dataType: 'JSON',
...
}).then(callback);
$.post(url, data, callback, 'JSON');
So unless we have a context we can't give you any more information than the above.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Open in new window