-
Notifications
You must be signed in to change notification settings - Fork 39
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
Exposed KVCollectionValue #56
Conversation
Publicly exposing the inner What is your actual use-case? |
I'm analyzing appinfo.vdf. With SteamAppInfoParser The index number was not always increment by 1. The only way is to iterate the This situation is similar when analyzing libraryfolders.vdf |
Casting it to |
Thanks. That helps. What if adding If there is a collection value, return a list, otherwise throw exception. |
See #21 |
yea, casting There is another confused method Although I can call |
You should be able to simply cast the value to |
Closing in favour of #30 to provide a more wholistic API redesign. |
When doing some data extraction, the operation like
List<KVObject> collection = ((KVCollectionValue)app.Data["config"]["launch"]).children;
was not allowed due to the Internal Access Modifiers.
In some situation,
KVCollectionValue
is much handy than abstractKVValue