Posted on: 10/9/2013 12:18:23 AM | Views : 846

I am stuck in parsing Valve Data Format into ASP.NET. These are some sort of arrays with variable amount of sub-arrays. https://developer.valvesoftware.com/wiki/KeyValues
Definition:
VDF (Valve Data Format)
This is Valve's internal data format, as seen in uses like TF2's "scripts" folder (available in "team fortress 2 client content.gcf"). TF2's GetSchema returns data similar to "items/items_game.txt" (although qualities are not expanded into objects with a "value" field). Documentation of the format is in progress here. Arrays in the data are represented as a VDF array with the name of the type of the objects in the array, with a VDF array being an object with each item being prefixed with its numeric key as a quoted string. Null is represented as an empty string. Go to the complete details ...