Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cbartondock opened this issue May 7, 2022 · 1 comment

Comments

@cbartondock
Copy link

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

@lenovouser
Copy link
Contributor

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants