is there a print helper for structures/maps? or sh...
# box-products
t
is there a print helper for structures/maps? or should i just write a loop and turn it into an array of arrays
b
@thisOldDave Is this a ColdBox question? CommandBox? Something else?
If you're asking about CommandBox, have you tested it? 🙂
You can basically pass anything into
print.line()
and it will JSON serialize it.
t
It was a commandbox question, I just wanted to dump out a key, value map in a pretty-ish way i wound up with print.table and a fat arrow function which works fine