Ate you sure your the method of dictionary creation is valid? Not sure it seems… instead of saving those values as a text , catch it on a label or something else to verify your work is correct…
Actually here you should place the dictionary varuvala i hope
Correct, when the json is saved to a file it is saved as text (JSON.stringify()). You will need to parse the JSON string with the correct block to get it back as a dictionary.
It is confusing because they look the same, but one is a string, the other is an object (a dictionary / list)
It works with tinydb because tinydb saves the dictionary as an object and returns it as an object (even though it looks like a string ). tinydb does the same with saved lists.