Monday, 15 July 2013

c# - Parsing Data in Xamarin Forms -



c# - Parsing Data in Xamarin Forms -

i names in collection href(customerdemographics, customers, employees, order details) populate listview. know how parse these info in xamarin platform or c#. quite new on environment. have experience how parse json info in native ios objective c, first time see type of data.

from attached image seems you're requesting service document of odata service. namely http://host/service/ endpoint of service. if content of collections, should append names of collections end of service document url, such as:

get http://host/service/categories http://hsot/service/customerdemographics

the format of response payload depends on protocol version of odata service. if talking odata v4 service (it seems lot querying northwind odata v4 sample service: http://services.odata.org/v4/northwind/northwind.svc/), response payload in json format , can utilize ways familiar parse response.

in addition, recommend go through basic tutorial on odata.org can improve grasp of odata requests: http://www.odata.org/getting-started/basic-tutorial/

c# xamarin odata xml-namespaces

No comments:

Post a Comment