Serializing a list
Tue Oct 27 07:40:43 CET 2009
Lets assume that we have a list where,
List -> integer | List;
eg L1 = [1,[[2,3]],].
when I perform
The result is [1,2,3,4]. I loose the original structure of the list.
How do then the serialization of the list is done?
Is there any other way we can perform 'binary_to_list(list_to_binary(L))'
functionality maintaining the structure of the list??
More information about the erlang-questions