Filling VButtonArray from dictionary

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By protofan

I have a dictionary that looks like this:
{"first:“1”,
“second”:“2”}
and I plan on adding and taking out different variables, but they will mostly work the same way (I kinda try to replace the 2d array with it, since I cant get it to work). I need to get the ammount of keys in dictionary, and then set the amount of buttons in VButtonArray to the amount of keys in dictionary. Also, I need to set the text of the buttons to the values in dictionary (I dont care about sorting, first can be second, etc). How can I do this?