You are developing an ASP.NET MVC web application that contains the following HTML.
<table id= “customer” ></table>
You also have an ASP.NET Web API application that contains a call for retrieving customers. You must send
and retrieve the data in the most compact format possible. You need to update the HTML for the customers
table to contain data from the Web API application.Which script segment should you use?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
D can be the right answer.
“retrieve the data in the most compact format possible” – json is more compact than xml