Dhx.ajax.get() sending array but string received on server side

dhx.ajax.get(url,{
  x:[1,2,3] // on server side, string "[1,2,3]" is received
}).then(function(res){
   ....
});

BUT,

dhx.ajax.post(url,{ // put method can also send array
  x:[1,2,3] // on server side, array [1,2,3] is received
}).then(function(res){
   ....
});

Should the GET method send string, or anywhere wrong?
I hope the GET method also send array.
Thx

This is the expected behavior, as get() sends the params as a part of the url. In this case they will be interpreted as string. You should try to use the post() instead or parse and convert the params to a needed type on your backend.