I'm trying to parse a JSON from an url and already found some solutions that worked, but only with HttpClient - and since that isn't supported anymore I want (and need) to do it with HttpUrlConnection but I can't get it to work with that.
My JSON data looks like this
[
{
"Id":12345,
"Abc":
{
"Name":"Testname"
},
"Start":"2015-08-28T10:07:00",
"End":"2015-08-28T10:08:00",
},
{
"Id":23456,
"Abc":
{
"Name":"Testname2"
},
"Start":"2015-08-28T10:07:00",
"End":"2015-08-28T10:08:00",
}
]
What's the simplest way to parse the JSON data into a JSON Object? (I want to show the data in a ListView later)