title: Play Framework: How to define a writable object in scala?
body: <p>Using Play, I have an object called <code>RepositoryMetadata</code>. I want to use that object in a method called <code>post</code>. The definition of that method is given below.</p>
  
  <p><code>def post[T](body: T)(implicit wrt: Writeable[T], ct: ContentTypeOf[T]): Future[WSResponse]</code>.</p>
  
  <p>How do I make the object <code>RepositoryMetadata</code> into <code>Writeable</code>.</p>