I have a .txt file with variable information and I need to read it to transform them into objects, the file is written as lists and dictionaries, is there an easy way to read them in this format?
this is an example of what is written in the txt:
[
{
"arg1":value1,
"arg2":value2
},
{
"arg1":value3,
"arg2":value4
},
]