echo json_encode(array(
     "id_kd"=>$row->id_kd,
     "mapel"=>$row->mapel,
     "jenis"=>$row->jenis,
     "kelas"=>$row->kelas,
     "tapel"=>$row->tapel,
     "smt"=>$row->smt,
     "no_kd"=>$row->no_kd,
     "isi_kd"=>$row->isi_kd,
     "ring_kd"=>$row->ring_kd,
     "pembuat"=>$row->pembuat,
     "pengubah"=>$row->pengubah,
     "waktu"=>$row->waktu,
     "terakhir"=>$row->terakhir,
     "req"=>$row->req,
     "kunci"=>$row->kunci,
));