reponse:json() to remove "" from numeric values
<!-- from this -->
{
"name": "Jan",
"value": "150"
}
<!-- to this -->
{
"name": "Jan",
"value": 150
}
<!--i used this-->
return Response::json( [ "data"=> $data ], 200, [], JSON_NUMERIC_CHECK );