I need assistance with parsing the JSON data retrieved from a webservice through my controller. Currently, I am displaying the entire JSON string in a div as text. However, I only want to extract specific values such as "color" and "size". I am unsure of the terminology and process involved in this task, whether it needs to be done within the controller or JavaScript. Any guidance on object arrays, deserialization, etc., would be greatly appreciated.
$.ajax({
url: this.href,
type: 'GET',
dataType: "json",
data: { myPartNo: returnVal },
success: function (result) {
ShowJson(result);
}
});