Hi,
I receive one JSONArray from one REST Server by Http Request.
In this JSON went 2 JSON Arrays:
My http request returns to me one json like this and i can see it:
{
"TMOV": [
{
"codigo": "E",
"descr": "Entrada"
},
{
"codigo": "S",
"descr": "Salida"
}
],
"SITS": [
{
"codigo": "1",
"descr": "Abierto"
},
{
"codigo": "2",
"descr": "En proceso"
},
{
"codigo": "3",
"descr": "Cerrado"
}
]
}
I want to send TMOV Array to DataSet "one" and SITS Array to Dataset "two".
In the response function i have this json in a TJSONObject.
I know that i can assign one TJSON Array to a Rows property of the TWebClientDataSet but i d onot know how can i extract or split every JSONArray of the main TJSONObject.
Ho can i do it ? Can you help me ?
Thanks...