Object

com.snowplowanalytics.iglu.core.json4s

AttachToSchema

Related Doc: package json4s

Permalink

object AttachToSchema extends AttachTo[JValue] with ToSchema[JValue] with ExtractFromSchema

AttachTo type class instance for JValue JSON Schemas

By importing this instance and making it implicit you'll have: + attachSchemaKey for all JValues + toSchema derived from ToSchema trait + getSchemaKey derived from ExtractFrom

Linear Supertypes
ExtractFromSchema, ToSchema[JValue], ExtractContent[JValue], AttachTo[JValue], ExtractFrom[JValue], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AttachToSchema
  2. ExtractFromSchema
  3. ToSchema
  4. ExtractContent
  5. AttachTo
  6. ExtractFrom
  7. AnyRef
  8. 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attachSchemaKey(schemaKey: SchemaKey, schema: JValue): JValue

    Permalink

    Attach SchemaKey to undescribed JSON Schema

    Attach SchemaKey to undescribed JSON Schema

    schemaKey

    Schema info

    schema

    undescribed JSON Schema

    returns

    updated Schema with attached SchemaKey

    Definition Classes
    AttachToSchema → AttachTo
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def extractSchemaKey(entity: JValue): Option[SchemaKey]

    Permalink

    Extract SchemaKey using serialization formats defined at Json4sIgluCodecs

    Extract SchemaKey using serialization formats defined at Json4sIgluCodecs

    Definition Classes
    ExtractFromSchema → ExtractFrom
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. implicit val formats: Formats

    Permalink
    Definition Classes
    ExtractFromSchema
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getContent(json: JValue): Option[JValue]

    Permalink

    Get undescribed Schema itself without any Self-describing info

    Get undescribed Schema itself without any Self-describing info

    json

    self-describing JSON Schema

    returns

    underscibed JSON Schema

    Definition Classes
    AttachToSchema → ExtractContent
  14. def getContentPair(entity: JValue): Option[(SchemaKey, JValue)]

    Permalink
    Definition Classes
    ExtractContent
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toSchema(schema: JValue): Option[SelfDescribingSchema[JValue]]

    Permalink
    Definition Classes
    ToSchema
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from ExtractFromSchema

Inherited from ToSchema[JValue]

Inherited from ExtractContent[JValue]

Inherited from AttachTo[JValue]

Inherited from ExtractFrom[JValue]

Inherited from AnyRef

Inherited from Any

Ungrouped