07-04-2025, Saat: 23:28
Merhaba
aşağıdaki kodda aynı veri içerisindeki kodu tekrar çekmeye çalıştığımda exception a düşüyor. Bunu sebebi nedir?
aşağıdaki kodda aynı veri içerisindeki kodu tekrar çekmeye çalıştığımda exception a düşüyor. Bunu sebebi nedir?
try VeriObj := TJSONObject.ParseJSONValue(Rrequest.Content) as TJSONObject; VeriValue := VeriObj.GetValue('TRANSACTIONS'); VeriAry := VeriValue.GetValue<TJSONArray>('items'); // FATURA SATIRLARI Kontrol if not FatHataVar then begin for SatI := 0 to VeriAry.Count-1 do begin MlzObj := TJsonObject.Create; try MlzObj := TJSONObject(VeriAry.Get(SatI)); S_MCODE := MlzObj.GetValue('URUN_KODU').Value; .......... finally MlzObj.Free; end; end; end; // FATURA SATIRLARI Kayıt if not FatHataVar then begin for SatI := 0 to VeriAry.Count-1 do begin MlzObj := TJsonObject.Create; try MlzObj := TJSONObject(VeriAry.Get(SatI)); /// >>>>>>>>>>>>>>>>>>>>>> ???? S_MCODE := MlzObj.GetValue('URUN_KODU').Value; // <<<<<<< EXCEPTION /// >>>>>>>>>>>>>>>>>>>>>> ???? ... finally MlzObj.Free; end; end; end; except on E: Exception do