【发布时间】:2025-12-15 09:15:02
【问题描述】:
我有一个 json 文件。我想在 django python 中读取 json 文件。
Json 文件包含
{
"ATM Cash" : ["withdrawal"],
"Expense" :["fees","goods","stationery","purchase","material","telephone"],
"Income" : ["salary","deposit","rewards"],
"Payment" : ["tranfer","payment"],
"Medical" : ["dr ",
"doctor","dr.","nursing","pharmacist","physician","hospital","medicine"],
"Food/Restaurent" :["food","catering"],
"Groceries" : ["big bazar"],
"Shopping" : ["cloths"],
"Mobile recharge" : ["airtel"],
"Auto & Fuel" : ["fuel"],
"Travel" : ["travel"],
"General" : ["others"]
}
【问题讨论】:
标签: json django python-3.x