I have an array in JSON format:
"[
{
\"acrescimo\": null,
\"tipo\": \"A\",
\"nome\": \"TABELA PRIME\",
\"ultima_alteracao\": \"2016-05-25 17:32:55\",
\"excluido\": false,
\"id\": 3801,
\"desconto\": null
},
{
\"acrescimo\": null,
\"tipo\": \"A\",
\"nome\": \"TABELA SPCAP-SPINT-SUL DISTR\",
\"ultima_alteracao\": \"2016-05-25 17:33:41\",
\"excluido\": false,
\"id\": 3803,
\"desconto\": null
}
...
I need to consume one Json in my class:
public class GetPrecoBO
{
public int id { get; set; }
public string nome { get; set; }
...
public DateTime ultima_alteracao { get; set; }
}
I searched the forum but did not find something to help me in particular. How do I return the array data in my class?