title: How do I use a @serializable scala object?
body: <p>I know that you can mark a scala object as <code>@serializable</code>, but I don't understand what to do with the object afterwards.  Do I simply treat it as a Java Serializable object?</p>
  
  <p>I want to serialize the object into a stream of bytes.  Can someone show me the code to transform a serialize object into either a byte array or a string?</p>
  
  <p>(the googles have not been helpful with this question)</p>
  
  <p>FOLLOWUP: Thanks.  I now understand that I can use it like a Java <code>Serializable</code> object.  Sometimes the obvious answer escapes me.</p>