Hi, I am currently working on a templating for some objects which are quite deep. I came across a problem when trying the following code:
Hash hash = Hash.FromAnonymousObject(data.softTypes[0].instances[4].data);
In the file:
{{Name.value }}
Works and gives me what I want. However, moving it down a step does not:
Hash hash = Hash.FromAnonymousObject(data.softTypes[0].instances[4]);
In the file:
{{data.Name.value }}
This results in just a blank, I dont know why. The class have the added : Drop as well so it is not an object related problem.
Greatful for any help!