I have an object of mixed type properties - some strings, some arrays of strings, some objects containing arrays of strings - that can potentially go many levels deep.
I
In the modern version of Jade it's look like
mixin parseObject( obj ) div each val in obj if typeof val === 'string' span= val else if typeof val === 'object' +parseObject( val )
Then in the body of your .jade file, call
+parseObject( rootObject )