I solve that using this methodology.
-
Your Node Input must be an
IDictionary
. -
Then, inside in your Node logic you need to convert the IDictionary to a strong typed Dictionary.
This allows you to consume your input data as you wish.
See images below showing how I implement that.
Node Method
Generic extension method to convert IDictionary to the strong typed Dictionary
Dynamo Graph