use Java’s serializable format. • Just implement interface “Serializable” in classes and let Java do it magic. • HashMap, array, primitive types, ArrayList are implementors of Serializable interface • Read more: http://pagist.info/6f66495127be09d45180
(available in my Facebook)