Object

org.coursera.naptime.courier

CourierFormats

Related Doc: package courier

Permalink

object CourierFormats extends StrictLogging

Provides utilities for converting between courier and Play JSON.

Linear Supertypes
StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CourierFormats
  2. StrictLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def arrayTemplateStringKeyFormat[T <: DataTemplate[DataList]](implicit tag: ClassTag[T]): StringKeyFormat[T]

    Permalink

    Returns a string key format for a given Courier array type.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bigDecimalToNumber(value: BigDecimal): Number

    Permalink

    Convert a BigDecimal (used by Play JSON) to a Number (used by Pegasus).

    Convert a BigDecimal (used by Play JSON) to a Number (used by Pegasus).

    Attempts to convert using the same rules as Pegasus's JacksonDataCodec:

    https://github.com/linkedin/rest.li/blob/ master/data/src/main/java/com/linkedin/data/codec/JacksonDataCodec.java#L767

    In particular, decimal values that cannot be represented as Number (int, long, double, float) are considered invalid.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val codecAnnotation: String

    Permalink
  9. def dataMapToObj(dataMap: DataMap): JsObject

    Permalink
  10. def enumerationFormat[T <: ScalaEnumTemplateSymbol](enumeration: ScalaEnumTemplate[T]): Format[T]

    Permalink
  11. def enumerationStringKeyFormat[T <: ScalaEnumTemplateSymbol](enumeration: ScalaEnumTemplate[T]): StringKeyFormat[T]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def objToDataMap(obj: JsObject): DataMap

    Permalink
  23. val passthroughAnnotation: String

    Permalink
  24. def recordTemplateFormats[T <: RecordTemplate](implicit tag: ClassTag[T]): OFormat[T]

    Permalink
  25. def recordTemplateStringKeyFormat[T <: RecordTemplate](implicit tag: ClassTag[T]): StringKeyFormat[T]

    Permalink
  26. val stringKeyName: String

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def unionTemplateFormats[T <: UnionTemplate](implicit tag: ClassTag[T]): OFormat[T]

    Permalink
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped