Is there any way to convert a nested arrayBuffer
to a nested array in scala ? I tried using the toArray
function, but it did not convert the nested arrayBuffers
I have an array buffer of type Any and following is my sample nested
ArrayBuffer(
ArrayBuffer(ArrayBuffer(ArrayBuffer(1, b), 5)))