Best way to output array?

What would be the best way to output a multidimensional array so that later on I could input it (through user input) and it won’t be to hard to read it?