Trait/Object

lspace.codec.jsonld

Encoder

Related Docs: object Encoder | package jsonld

Permalink

trait Encoder 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 JIP = JsonInProgress[Json]

    Permalink
  2. type JOIP = JsonObjectInProgress[Json]

    Permalink
  3. abstract type Json

    Permalink
  4. implicit class WithActiveContext extends AnyRef

    Permalink
  5. implicit class WithEJson extends AnyRef

    Permalink
  6. implicit class WithIriString extends AnyRef

    Permalink
  7. implicit class WithJsonInProgress extends AnyRef

    Permalink
  8. implicit class WithJsonObjectInProgress extends AnyRef

    Permalink
  9. implicit class WithT[T] extends AnyRef

    Permalink

Abstract Value Members

  1. implicit abstract def baseEncoder: Aux[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. def addEdges(resource: structure.Resource[_])(implicit activeContext: ActiveContext): (List[(String, Json)], ActiveContext)

    Permalink
  5. def apply[T <: structure.Node](node: structure.Node)(implicit activeContext: ActiveContext): String

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. implicit val boolToJson: (Boolean) ⇒ Json

    Permalink
  8. def clone(): AnyRef

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

    Permalink
  10. implicit val dateToJson: (Instant) ⇒ Json

    Permalink
  11. implicit val doubleToJson: (Double) ⇒ Json

    Permalink
  12. def edgeToAsJson[T](edge: structure.Edge[_, T])(implicit activeContext: ActiveContext): JIP

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromActiveContext(context: ActiveContext): Option[Json]

    Permalink
  17. def fromAny(value: Any, expectedType: Option[structure.ClassType[_]] = None)(implicit activeContext: ActiveContext): JIP

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

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

    Permalink
  20. def fromData(value: Any, expectedType: datatype.DataType[_])(implicit activeContext: ActiveContext): JIP

    Permalink
  21. def fromDataType(dataType: datatype.DataType[_])(implicit activeContext: ActiveContext): JOIP

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

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

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

    Permalink
  25. def fromEdge(edge: structure.Edge[_, _])(implicit activeContext: ActiveContext): JOIP

    Permalink
  26. def fromEdges(key: structure.Property, edges: List[structure.Edge[_, _]])(implicit activeContext: ActiveContext): JIP

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

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

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

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

    Permalink
  31. def fromNode(node: structure.Node, expectedTypes: Set[structure.ClassType[_]] = Set())(implicit activeContext: ActiveContext): JOIP

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

    Permalink
  33. def fromOntology(ontology: structure.Ontology)(implicit activeContext: ActiveContext): JOIP

    Permalink

    ontology to json, TODO: add and return @context

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

    Permalink

    property to json, TODO: add and return @context

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

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

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

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

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

    Permalink
  40. implicit val geoToJson: (Geometry) ⇒ Json

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  43. implicit val intToJson: (Int) ⇒ Json

    Permalink
  44. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  45. def jsonToNoSpacesString(json: Json): String

    Permalink
  46. implicit val listToJson: (List[Json]) ⇒ Json

    Permalink
  47. implicit val listmapToJson: (ListMap[String, Json]) ⇒ Json

    Permalink
  48. implicit val localdateToJson: (LocalDate) ⇒ Json

    Permalink
  49. implicit val localdatetimeToJson: (LocalDateTime) ⇒ Json

    Permalink
  50. implicit val localtimeToJson: (LocalTime) ⇒ Json

    Permalink
  51. implicit val longToJson: (Long) ⇒ Json

    Permalink
  52. implicit val mapToJson: (Map[String, Json]) ⇒ Json

    Permalink
  53. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  56. implicit def nullToJson: Json

    Permalink
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  58. implicit val textToJson: (String) ⇒ Json

    Permalink
  59. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  60. implicit val tuple2ListToJson: (List[(Json, Json)]) ⇒ Json

    Permalink
  61. implicit val tuple2ToJson: ((Json, Json)) ⇒ Json

    Permalink
  62. implicit val tuple3ToJson: ((Json, Json, Json)) ⇒ Json

    Permalink
  63. implicit val tuple4ToJson: ((Json, Json, Json, Json)) ⇒ Json

    Permalink
  64. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped