Object

org.squbs.marshallers.json

XLangJsonSupport

Related Doc: package json

Permalink

object XLangJsonSupport

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XLangJsonSupport
  2. AnyRef
  3. 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 addDefaultSerializers(serializers: Serializer[_]*): Unit

    Permalink

    Java API for adding default Json4s serializers.

    Java API for adding default Json4s serializers. Note this API is additive. Additional serializers will be added for each call.

    serializers

    The serializers to add

    Annotations
    @varargs()
  5. def addSerializers(clazz: Class[_], serializers: Serializer[_]*): Unit

    Permalink

    Java API for adding serializers for a particular entry-point class.

    Java API for adding serializers for a particular entry-point class. Note this API is additive. Additional serializers will be added for each call.

    clazz

    The entry-point class to register/add serializers

    serializers

    The serializers to add

    Annotations
    @varargs()
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def defaultFormats: Formats

    Permalink

    Java API for accessing the Json4s DefaultFormats.

    Java API for accessing the Json4s DefaultFormats.

    returns

    The DefaultFormats singleton instance

  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  15. def jacksonSerialization: Serialization

    Permalink

    Java API for accessing the Jackson serialization.

    Java API for accessing the Jackson serialization.

    returns

    The Jackson serialization

  16. def marshaller[T <: AnyRef](clazz: Class[T]): Marshaller[T, RequestEntity]

    Permalink

    Java API to get the appropriate marshaller.

    Java API to get the appropriate marshaller.

    T

    The type to marshal, auto-inferred

    clazz

    The class for marshalling

    returns

    The appropriate marshaller, appropriately configured

  17. def nativeSerialization: Serialization

    Permalink

    Java API for accessing the native serialization.

    Java API for accessing the native serialization.

    returns

    The native serialization

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def register[T](mapper: ObjectMapper)(implicit arg0: ClassTag[T]): Unit

    Permalink

    Scala API for registering a class-specific mapper.

    Scala API for registering a class-specific mapper. Delegates to JacksonMapperSupport

    T

    The type to apply this mapper.

    mapper

    The mapper

  22. def register(clazz: Class[_], mapper: ObjectMapper): Unit

    Permalink

    Java API for registering a class-specific mapper.

    Java API for registering a class-specific mapper. Delegates to JacksonMapperSupport.

    clazz

    The class requiring a mapper

    mapper

    The mapper

  23. def register[T](formats: Formats)(implicit arg0: ClassTag[T]): Unit

    Permalink

    Scala API for registering type-specific formats (Json4s).

    Scala API for registering type-specific formats (Json4s).

    T

    The type

    formats

    The formats

  24. def register(clazz: Class[_], formats: Formats): Unit

    Permalink

    Java API for registering class-specific formats (Json4s).

    Java API for registering class-specific formats (Json4s).

    clazz

    The class

    formats

    The formats

  25. def register[T](serialization: Serialization)(implicit arg0: ClassTag[T]): Unit

    Permalink

    Scala API for registering type-specific serialization (Json4s).

    Scala API for registering type-specific serialization (Json4s).

    T

    The type

    serialization

    The serialization

  26. def register(clazz: Class[_], serialization: Serialization): Unit

    Permalink

    Java API for registering class-specific serialization (Json4s).

    Java API for registering class-specific serialization (Json4s).

    clazz

    The class

    serialization

    The serialization

  27. def setDefaultFormats(formats: Formats): Unit

    Permalink

    Sets given formats as new default.

    Sets given formats as new default.

    formats

    The new default formats

  28. def setDefaultMapper(objectMapper: ObjectMapper): Unit

    Permalink

    Sets given mapper as the new default object mapper.

    Sets given mapper as the new default object mapper. Delegates to JacksonMapperSupport.

    objectMapper

    The new default object mapper

  29. def setDefaultSerialization(serialization: Serialization): Unit

    Permalink

    Sets given serialization as new default.

    Sets given serialization as new default.

    serialization

    The new default serialization

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  32. implicit def typeToMarshaller[T <: AnyRef](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): ToEntityMarshaller[T]

    Permalink

    Scala API.

    Scala API. Just import XLangJsonSupport._ and life is good.

    T

    The type used to obtain the marshaller

    returns

    The appropriate marshaller, appropriately configured.

  33. implicit def typeToUnmarshaller[R](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[R]): FromEntityUnmarshaller[R]

    Permalink

    Scala API.

    Scala API. Just import XLangJsonSupport._ and life is good.

    R

    The type used to obtain the unmarshaller

    returns

    The appropriate unmarshaller, appropriately configured.

  34. def unmarshaller[R](clazz: Class[R]): Unmarshaller[HttpEntity, R]

    Permalink

    Java API to get the appropriate unmarshaller.

    Java API to get the appropriate unmarshaller.

    R

    The type to unmarshal, auto-inferred

    clazz

    The class for unmarshalling

    returns

    The appropriate unmarshaller, appropriately configured

  35. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped