I whipped this up to contribute to Rolando’s environmentConfig project.
ColdSpring doesn’t like being passed complex values, and it’s not that big of a deal unless you are parsing settings from a 3rd party XML, that builds them into a nested struct.
So we came up with this to build all the nested structs into a single struct.
By default it adds the parent struct’s key as a prefix. This is to assure no values are overwritten.
I didn’t see a UDF on CFLib for it, so I figured I’d submit and post here in case it can help anyone else out.