Trait

lspace.codec

Encoder

Related Doc: package codec

Permalink

trait Encoder[Json] extends AnyRef

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

Type Members

  1. type AC = ActiveContext[Json]

    Permalink
  2. type AP = ActiveProperty[Json]

    Permalink
  3. type J = Json

    Permalink
  4. type JIP = JsonInProgress[Json]

    Permalink
  5. type JOIP = JsonObjectInProgress[Json]

    Permalink
  6. implicit class WithDictionary extends AnyRef

    Permalink
  7. 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. implicit abstract def geoToJson(geo: Geometry): Json

    Permalink
  5. abstract def getNewActiveContext: AC

    Permalink
  6. abstract def getNewActiveProperty: AP

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

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

    Permalink
  9. implicit abstract def listmapToJson(map: ListMap[String, Json]): Json

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

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

    Permalink
  12. implicit abstract def nullToJson: Json

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

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

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

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

    Permalink
  17. 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. implicit def decoder: Encoder[Json]

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

    Permalink
    Attributes
    protected
  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. def fromAny(value: Any, expectedType: Option[ClassType[_]] = None)(implicit activeContext: AC): JIP

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    ontology to json, TODO: add and return @context

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

    Permalink

    property to json, TODO: add and return @context

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped