Function to get struct field by name?

Yeah, for a “bar” field in struct object “foo”, you can access that field only by doing “foo.bar”.

This can be alleviated if Hugo added a struct to map conversion if it used something like this:

Ref


The struct debug in my debugprint partial would get much simpler if that struct to map decoding were done.