I seen a website and I see JSON data that website and I'm to try do same like that everything working good but when I see his JSON in Chrome Developer Response his data coming in value is red but my data is coming in black please check image for more info.
This link of red json data that I see someone website:
and this is my:
This is my server side code
if($sql->num_rows > 0){
while($row = $sql->fetch_assoc()){
$nestedData["name"] = $row["olduploadfilename"];
$nestedData["size"] = intval($row["uploadmissize"]);
$data[] = $nestedData;
}
echo json_encode($data);
}