Quyidagi kod misolida json fayli Python ishlaydigan direktoriyada joylashgan deb taxmin qilinadi. --- # Import the library json import json # open the file in the same directory with open("data.json", 'r') as file: # json ma'lumotlarini 'data' data = json.load(file) o'zgaruvchisiga yuklang # Endi siz Python-da ma'lumotlardan erkin foydalanishingiz mumkin, agar siz 'data' ning qiymatlarining tegishli kalitlarini ko'rsatsangiz # Masalan, biz print konsolining uchinchi afzalligini beramiz (((data["Faydaliyatlar"][2])
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence