This was when I was using vdf.parse() on a large .res file (around 5k lines). At first, I kept getting the error when it got to a key like this:
TestParentKey
{
}
The error mentions the line where the closing bracket is.
After removing the problem key, the error then mentioned the closing bracket of the parent key for all the other keys. A VSCode extension that also supports VDF files can collapse the file just fine, and shows there doesn't seem to be any extra closing brackets.
I can provide the file that is causing this if need be.
This was when I was using
vdf.parse()
on a large.res
file (around 5k lines). At first, I kept getting the error when it got to a key like this:The error mentions the line where the closing bracket is. After removing the problem key, the error then mentioned the closing bracket of the parent key for all the other keys. A VSCode extension that also supports VDF files can collapse the file just fine, and shows there doesn't seem to be any extra closing brackets.
I can provide the file that is causing this if need be.