abstract class Encoder[Json] extends codec.Encoder
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Encoder
- Encoder
- Codec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Encoder()(implicit baseEncoder: JsonEncoder[Json])
Type Members
- type JIP = JsonInProgress[Json]
- type JOIP = JsonObjectInProgress[Json]
- implicit class WithActiveContext extends AnyRef
- implicit class WithIriString extends AnyRef
- implicit class WithJsonInProgress extends AnyRef
- implicit class WithJsonObjectInProgress extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addEdges(resource: structure.Resource[_])(implicit activeContext: ActiveContext): (List[(String, Json)], ActiveContext)
- def apply[T <: structure.Node](node: structure.Node)(implicit activeContext: ActiveContext): String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit val baseEncoder: JsonEncoder[Json]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ctListToJson(l: List[structure.ClassType[_]])(implicit activeContext: ActiveContext): JIP
- def edgeToAsJson[T](edge: structure.Edge[_, T])(implicit activeContext: ActiveContext): JIP
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromActiveContext(context: ActiveContext): Option[Json]
- def fromAny(value: Any, expectedType: Option[structure.ClassType[_]] = None)(implicit activeContext: ActiveContext): JIP
- def fromCalendar(value: Any, expectedType: CalendarType[_])(implicit activeContext: ActiveContext): JIP
- def fromCollection(value: Any, expectedType: CollectionType[_])(implicit activeContext: ActiveContext): JIP
- def fromData(value: Any, expectedType: datatype.DataType[_])(implicit activeContext: ActiveContext): JIP
- def fromDataType(dataType: datatype.DataType[_])(implicit activeContext: ActiveContext): JOIP
- def fromDate(value: Any, expectedType: LocalDateType[_])(implicit activeContext: ActiveContext): JIP
- def fromDateTime(value: Any, expectedType: DateTimeType[_])(implicit activeContext: ActiveContext): JIP
- def fromDouble(value: Any, expectedType: DoubleType[_])(implicit activeContext: ActiveContext): JIP
- def fromEdge(edge: structure.Edge[_, _])(implicit activeContext: ActiveContext): JOIP
- def fromEdges(key: structure.Property, edges: List[structure.Edge[_, _]])(implicit activeContext: ActiveContext): JIP
- def fromGeometric(value: Any, expectedType: GeometricType[_])(implicit activeContext: ActiveContext): JIP
- def fromInt(value: Any, expectedType: IntType[_])(implicit activeContext: ActiveContext): JIP
- def fromLiteral(value: Any, expectedType: LiteralType[_])(implicit activeContext: ActiveContext): JIP
- def fromLong(value: Any, expectedType: LongType[_])(implicit activeContext: ActiveContext): JIP
- def fromNode(node: structure.Node, expectedTypes: Set[structure.ClassType[_]] = Set())(implicit activeContext: ActiveContext): JOIP
- def fromNumeric(value: Any, expectedType: NumericType[_])(implicit activeContext: ActiveContext): JIP
- def fromOntology(ontology: structure.Ontology)(implicit activeContext: ActiveContext): JOIP
ontology to json, TODO: add and return @context
- def fromProperty(key: structure.Property)(implicit activeContext: ActiveContext): JOIP
property to json, TODO: add and return @context
- def fromQuantity(value: Any, expectedType: QuantityType[_])(implicit activeContext: ActiveContext): JIP
- def fromStructured(value: Any, expectedType: StructuredType[_])(implicit activeContext: ActiveContext): JIP
- def fromText(value: Any, expectedType: TextType[_])(implicit activeContext: ActiveContext): JIP
- def fromTime(value: Any, expectedType: LocalTimeType[_])(implicit activeContext: ActiveContext): JIP
- def fromTuple(value: Any, expectedType: TupleType[_])(implicit activeContext: ActiveContext): JIP
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- 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.