Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Parse Json response in xamarin.Android - Second try

$
0
0

I´ve asked this question before, but without a good reult;

I am using JSON.NET(Newtonsoft.Json NuGet) in xamarin.Android to parse a response from an API. My response is like this:

[
  {
    "id": "21",
    "date": "2018-01-01",
    "name": "Name1"
  },
  {
    "id": "22",
    "date": "2018-01-02",
    "name": "Name2",
  }
]

As you see, it contains 2 id tags. The numer of id-tags can change. Sometimes the id-value is 21 but sometimes 48 or other... So i want to get the value of each id, date and name tag.
I tryed with an for each loop but don't succeed...


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>