is there a print helper for structures/maps? or should i just write a loop and turn it into an array of arrays
b
bdw429s
02/25/2022, 7:03 PM
@thisOldDave Is this a ColdBox question? CommandBox? Something else?
bdw429s
02/25/2022, 7:04 PM
If you're asking about CommandBox, have you tested it? 🙂
bdw429s
02/25/2022, 7:04 PM
You can basically pass anything into
print.line()
and it will JSON serialize it.
t
thisOldDave
02/28/2022, 9:13 AM
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