vdf icon indicating copy to clipboard operation
vdf copied to clipboard

Values that should be strings but are composed of integers are parsed as numbers

Open cbartondock opened this issue 3 years ago • 1 comments

Example is the game titled 140, which can occur in screenshots.vdf. Obviously this is a title and should be parsed as a string, but it currently isn't. From the output of genericParser.parse():

debug1

cbartondock avatar May 07 '22 22:05 cbartondock

@cbartondock I can't think of a clean way that fixes this, since we currently just check if a value can be a number, and if it can be, we make it one. Please let me know if you have ideas on how to circumvent this.

lenovouser avatar Oct 26 '22 18:10 lenovouser