Class Formats.MappableFormat<A>

  • Enclosing class:
    Formats

    public static class Formats.MappableFormat<A>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MappableFormat​(play.api.libs.json.Format<A> format)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <B> play.api.libs.json.Format<B> bimap​(scala.Function1<B,​A> to, scala.Function1<A,​B> from)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MappableFormat

        public MappableFormat​(play.api.libs.json.Format<A> format)
    • Method Detail

      • bimap

        public <B> play.api.libs.json.Format<B> bimap​(scala.Function1<B,​A> to,
                                                      scala.Function1<A,​B> from)