ValvePython / vdf

📜 Package for working with Valve's text and binary KeyValue format
https://pypi.org/project/vdf/
MIT License
165 stars 30 forks source link

Does not work on lists of objects #45

Open BryceRussell opened 2 years ago

BryceRussell commented 2 years ago

Some of the files I am parsing have objects inside of a list and it throws [ vdf.parse: expected openning bracket ] as an error pointing to the line with [

"Object"
{
    "Key" "Val"
    "Object"
    [ // <-- Error points to this line
        {
            "Object"
            {
                "Key" "Val"
            }
            "Key" "Val"
        }
        {
            "Object"
            {
                "Key" "Val"
            }
            "Key" "Val"
        }
    ]
}