Trait

lspace.codec

Encode

Related Doc: package codec

Permalink

trait Encode[Json, JsonObject] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Encode
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type AC = ActiveContext[Json, JsonObject]

    Permalink
  2. type AP = ActiveProperty[Json, JsonObject]

    Permalink
  3. type JIP = JsonInProgress[Json, JsonObject]

    Permalink
  4. type JOIP = JsonObjectInProgress[Json, JsonObject]

    Permalink
  5. implicit class WithIriString extends AnyRef

    Permalink

Abstract Value Members

  1. abstract def apply[T <: Node](node: Node): String

    Permalink
  2. implicit abstract def boolToJson(boolean: Boolean): Json

    Permalink
  3. implicit abstract def doubleToJson(double: Double): Json

    Permalink
  4. abstract def fromEdge(edge: Edge[_, _])(implicit activeContext: AC): JOIP

    Permalink
  5. abstract def fromEdges(key: Property, edges: List[Edge[_, _]])(implicit activeContext: AC): JIP

    Permalink
  6. abstract def fromNode(node: Node)(implicit activeContext: AC): JOIP

    Permalink
  7. implicit abstract def geoToJson(geo: Geometry): Json

    Permalink
  8. abstract def getNewActiveContext: AC

    Permalink
  9. abstract def getNewActiveProperty: AP

    Permalink
  10. implicit abstract def intToJson(int: Int): Json

    Permalink
  11. implicit abstract def jsonObjectToJson(json: JsonObject): Json

    Permalink
  12. implicit abstract def listToJson(list: List[Json]): Json

    Permalink
  13. implicit abstract def longToJson(long: Long): Json

    Permalink
  14. implicit abstract def mapToJson(map: Map[String, Json]): Json

    Permalink
  15. implicit abstract def mapToJsonObject(map: Map[String, Json]): JsonObject

    Permalink
  16. implicit abstract def textToJson(text: String): Json

    Permalink
  17. implicit abstract def tuple2ListToJson(tuples: List[(Json, Json)]): Json

    Permalink
  18. implicit abstract def tuple2ToJson(tuples: (Json, Json)): Json

    Permalink
  19. implicit abstract def tuple3ToJson(tuples: (Json, Json, Json)): Json

    Permalink
  20. implicit abstract def tuple4ToJson(tuples: (Json, Json, Json, Json)): Json

    Permalink

Concrete 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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def ctListToJson(l: List[ClassType[_]])(implicit activeContext: AC): JIP

    Permalink
  7. def edgeInVToJson[T](edge: Edge[_, T])(implicit activeContext: AC): JIP

    Permalink
    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromAny(value: Any, expectedType: Option[ClassType[_]] = None)(implicit activeContext: AC): JIP

    Permalink
  12. def fromCalendar(value: Any, expectedType: CalendarType[_])(implicit activeContext: AC): JIP

    Permalink
  13. def fromCollection(value: Any, expectedType: CollectionType[_])(implicit activeContext: AC): JIP

    Permalink
  14. def fromData(value: Any, expectedType: DataType[_])(implicit activeContext: AC): JIP

    Permalink
  15. def fromDataType(dataType: DataType[_])(implicit activeContext: AC): JOIP

    Permalink
  16. def fromDate(value: Any, expectedType: LocalDateType[_])(implicit activeContext: AC): JIP

    Permalink
  17. def fromDateTime(value: Any, expectedType: DateTimeType[_])(implicit activeContext: AC): JIP

    Permalink
  18. def fromDouble(value: Any, expectedType: DoubleType[_])(implicit activeContext: AC): JIP

    Permalink
  19. def fromGeometric(value: Any, expectedType: GeometricType[_])(implicit activeContext: AC): JIP

    Permalink
  20. def fromInt(value: Any, expectedType: IntType[_])(implicit activeContext: AC): JIP

    Permalink
  21. def fromLiteral(value: Any, expectedType: LiteralType[_])(implicit activeContext: AC): JIP

    Permalink
  22. def fromLong(value: Any, expectedType: LongType[_])(implicit activeContext: AC): JIP

    Permalink
  23. def fromNumeric(value: Any, expectedType: NumericType[_])(implicit activeContext: AC): JIP

    Permalink
  24. def fromOntology(ontology: Ontology)(implicit activeContext: AC): JOIP

    Permalink

    ontology to json, TODO: add and return @context

  25. def fromProperty(key: Property)(implicit activeContext: AC): JOIP

    Permalink

    property to json, TODO: add and return @context

  26. def fromQuantity(value: Any, expectedType: QuantityType[_])(implicit activeContext: AC): JIP

    Permalink
  27. def fromStructured(value: Any, expectedType: StructuredType[_])(implicit activeContext: AC): JIP

    Permalink
  28. def fromText(value: Any, expectedType: TextType[_])(implicit activeContext: AC): JIP

    Permalink
  29. def fromTime(value: Any, expectedType: LocalTimeType[_])(implicit activeContext: AC): JIP

    Permalink
  30. def fromTuple(value: Any, expectedType: TupleType[_])(implicit activeContext: AC): JIP

    Permalink
  31. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped