Saving Json as File And Reading it as Dictonary

@dora_paz has suggested correctly :slight_smile:

I used a label to replicate the file i/o

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 :slight_smile: ). tinydb does the same with saved lists.

1 Like