Can someone tell me how to change a value in a kivy storage (JsonStore) ? Here is an example of what I have :
from kivy.storage.jsonstore import JsonStore
store = JsonStore("Test.json")
store["MyDict"] = {"0":"H", "1":"A", "2":"Y"}
print(store["MyDict"])
store["MyDict"]["1"] = "E"
print(store["MyDict"])
This code work but when I look in the Test.json
file, there is this dictionnary {"0":"H", "1":"A", "2":"Y"} instead of this one {"0":"H", "1":"E", "2":"Y"}
I would like to use this as a normal dictionary.