rec_data = json.dumps(json_obj, separators=(',',':')) # > "addd":[{"modif":"u0410u0421","prod":"1986"}]},
Додаємо ensure_ascii=False:
ensure_ascii=False
rec_data = json.dumps(json_obj, separators=(',',':'), ensure_ascii=False) # > "addd":[{"modif":"Україна","prod":"1972"}]
Last updated 4 months ago