Chargez JSON
import json
with open('data.txt') as json_file:
data = json.load(json_file)
ANEREL
import json
with open('data.txt') as json_file:
data = json.load(json_file)
import json
with open('path_to_file/person.json') as f:
data = json.load(f)
print(data)
flx = json.dumps(data, ensure_ascii=False, indent=4)
print(flx)
import json
with open('path_to_file/person.json') as f:
data = json.load(f)
{
"values": [
"init:load"
]
}