Skip to Content
0
Former Member
Mar 09, 2015 at 05:53 AM

JSON V/s OData

177 Views

Hi,

What is the difference between using

var oModel = new sap.ui.model.json.JSONModel("http://services.odata.org/V3/(S(hwii2w0uoa1wgczn3bian230))/OData/OData.svc/Products");

and

var oModel = new sap.ui.model.odata.ODataModel("http://services.odata.org/V3/(S(hwii2w0uoa1wgczn3bian230))/OData/OData.svc/Products");

Which is recommended and why?