Posts by Heitor R. Barros • 11 points
2 posts
-
0
votes6
answers9622
viewsA: Transform json array into php array
I saw you didn’t put the ; at the end of file_get_contents. <?php $lista = file_get_contents("http://mcapi.ca/query/ip.craftlite.com.br:25571/list") <- $infor = json_decode($lista, true);…
-
1
votes2
answers1086
viewsA: Transform Json return to list of C#objects
You can use the dll Newtonsoft tries so: public IEnumerable<Champions> LoadChampions(string json) { return JsonConvert.DeserializeObject<IEnumerable<Champions>>(json); }…