Deserialize an array of bytes back to List>

Cloud created by:

Joe Clark
11 September 2017

Hi,

I have a multidimensional List, List<List<String>>. In order to save it using Preferences API, I would like to serialize it to an array of bytes and then deserialize it to load.

 

I didn't find the right solution from the Internet.

 

References: https://www.java-forums.org/new-java/97336-deserialize-array-bytes-back-list-list-string.html

 

B2b Video Advertising

 

 

Extra content

Embedded Content

Contribute

Contribute to the discussion

Please log in to post a comment. Register here if you haven't signed up yet.