Packages

abstract class Encoder[Json] extends codec.Encoder

Linear Supertypes
codec.Encoder, Codec, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Encoder
  2. Encoder
  3. Codec
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Encoder()(implicit baseEncoder: JsonEncoder[Json])

Type Members

  1. type JIP = JsonInProgress[Json]
  2. type JOIP = JsonObjectInProgress[Json]
  3. implicit class WithActiveContext extends AnyRef
  4. implicit class WithIriString extends AnyRef
  5. implicit class WithJsonInProgress extends AnyRef
  6. implicit class WithJsonObjectInProgress extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addEdges(resource: structure.Resource[_])(implicit activeContext: ActiveContext): (List[(String, Json)], ActiveContext)
  5. def apply[T <: structure.Node](node: structure.Node)(implicit activeContext: ActiveContext): String
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. implicit val baseEncoder: JsonEncoder[Json]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. def ctListToJson(l: List[structure.ClassType[_]])(implicit activeContext: ActiveContext): JIP
  10. def edgeToAsJson[T](edge: structure.Edge[_, T])(implicit activeContext: ActiveContext): JIP
    Attributes
    protected
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def fromActiveContext(context: ActiveContext): Option[Json]
  14. def fromAny(value: Any, expectedType: Option[structure.ClassType[_]] = None)(implicit activeContext: ActiveContext): JIP
  15. def fromCalendar(value: Any, expectedType: CalendarType[_])(implicit activeContext: ActiveContext): JIP
  16. def fromCollection(value: Any, expectedType: CollectionType[_])(implicit activeContext: ActiveContext): JIP
  17. def fromData(value: Any, expectedType: datatype.DataType[_])(implicit activeContext: ActiveContext): JIP
  18. def fromDataType(dataType: datatype.DataType[_])(implicit activeContext: ActiveContext): JOIP
  19. def fromDate(value: Any, expectedType: LocalDateType[_])(implicit activeContext: ActiveContext): JIP
  20. def fromDateTime(value: Any, expectedType: DateTimeType[_])(implicit activeContext: ActiveContext): JIP
  21. def fromDouble(value: Any, expectedType: DoubleType[_])(implicit activeContext: ActiveContext): JIP
  22. def fromEdge(edge: structure.Edge[_, _])(implicit activeContext: ActiveContext): JOIP
  23. def fromEdges(key: structure.Property, edges: List[structure.Edge[_, _]])(implicit activeContext: ActiveContext): JIP
  24. def fromGeometric(value: Any, expectedType: GeometricType[_])(implicit activeContext: ActiveContext): JIP
  25. def fromInt(value: Any, expectedType: IntType[_])(implicit activeContext: ActiveContext): JIP
  26. def fromLiteral(value: Any, expectedType: LiteralType[_])(implicit activeContext: ActiveContext): JIP
  27. def fromLong(value: Any, expectedType: LongType[_])(implicit activeContext: ActiveContext): JIP
  28. def fromNode(node: structure.Node, expectedTypes: Set[structure.ClassType[_]] = Set())(implicit activeContext: ActiveContext): JOIP
  29. def fromNumeric(value: Any, expectedType: NumericType[_])(implicit activeContext: ActiveContext): JIP
  30. def fromOntology(ontology: structure.Ontology)(implicit activeContext: ActiveContext): JOIP

    ontology to json, TODO: add and return @context

  31. def fromProperty(key: structure.Property)(implicit activeContext: ActiveContext): JOIP

    property to json, TODO: add and return @context

  32. def fromQuantity(value: Any, expectedType: QuantityType[_])(implicit activeContext: ActiveContext): JIP
  33. def fromStructured(value: Any, expectedType: StructuredType[_])(implicit activeContext: ActiveContext): JIP
  34. def fromText(value: Any, expectedType: TextType[_])(implicit activeContext: ActiveContext): JIP
  35. def fromTime(value: Any, expectedType: LocalTimeType[_])(implicit activeContext: ActiveContext): JIP
  36. def fromTuple(value: Any, expectedType: TupleType[_])(implicit activeContext: ActiveContext): JIP
  37. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from codec.Encoder

Inherited from Codec

Inherited from AnyRef

Inherited from Any

Ungrouped