Trait

lspace.codec

Decoder

Related Doc: package codec

Permalink

trait Decoder[Json] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Decoder
  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

Abstract Value Members

  1. abstract def encoder: Encoder[Json]

    Permalink
  2. abstract def getNewActiveContext: AC

    Permalink
  3. abstract def getNewActiveProperty: AP

    Permalink
  4. abstract def graph: Graph

    Permalink
  5. implicit abstract def jsonToBoolean(json: Json): Option[Boolean]

    Permalink
  6. implicit abstract def jsonToDouble(json: Json): Option[Double]

    Permalink
  7. implicit abstract def jsonToInt(json: Json): Option[Int]

    Permalink
  8. implicit abstract def jsonToList(json: Json): Option[List[Json]]

    Permalink
  9. implicit abstract def jsonToLong(json: Json): Option[Long]

    Permalink
  10. implicit abstract def jsonToMap(json: Json): Option[Map[String, Json]]

    Permalink
  11. implicit abstract def jsonToString(json: Json): Option[String]

    Permalink
  12. abstract def parse(string: String): Task[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. implicit def decoder: Decoder[Json]

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def extractContext(obj: Map[String, Json])(implicit activeContext: AC): Task[AC]

    Permalink
  10. def extractDatatype(obj: Map[String, Json])(implicit activeContext: AC): Task[Option[DataType[Any]]]

    Permalink
  11. def extractOntologies(obj: Map[String, Json])(implicit activeContext: AC): Task[List[Ontology]]

    Permalink
  12. def extractProperties(obj: Map[String, Json])(implicit activeContext: AC): Task[Option[Property]]

    Permalink
  13. def extractRefs(json: Json)(implicit activeContext: AC): List[String]

    Permalink

    gets list or iris

  14. def extractType(obj: Map[String, Json])(implicit activeContext: AC): Task[List[ClassType[Any]]]

    Permalink
  15. def fetch[T](iri: String)(cb: (Map[String, Json]) ⇒ Task[T]): Task[T]

    Permalink
  16. def fetchClassType(iri: String)(implicit activeContext: AC): Task[ClassType[_]]

    Permalink
  17. def fetchOntology(iri: String)(implicit activeContext: AC): Task[Ontology]

    Permalink
  18. def fetchProperty(iri: String)(implicit activeContext: AC): Task[Property]

    Permalink
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. val httpClient: HttpClient

    Permalink
  23. def iriToClassType(iri: String)(implicit activeContext: AC): Option[ClassType[Any]]

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. implicit def jsonToDate(json: Json): Option[LocalDate]

    Permalink
  26. implicit def jsonToDateTime(json: Json): Option[Instant]

    Permalink
  27. implicit def jsonToGeopoint(json: Json): Option[Point]

    Permalink
  28. implicit def jsonToGeopolygon(json: Json): Option[Polygon]

    Permalink
  29. implicit def jsonToTime(json: Json): Option[LocalTime]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  33. def stringToLabeledNode(json: String, ontology: Ontology, activeContext: AC = getNewActiveContext): Task[Node]

    Permalink
  34. def stringToNode(json: String, activeContext: AC = getNewActiveContext): Task[Node]

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

    Permalink
    Definition Classes
    AnyRef
  36. def toClasstype(obj: Map[String, Json])(implicit activeContext: AC): Task[ClassType[Any]]

    Permalink
  37. def toClasstypes(json: Json)(implicit activeContext: AC): Task[List[ClassType[Any]]]

    Permalink
  38. def toCollection[T](json: List[Json], label: CollectionType[T])(implicit activeContext: AC): Task[T]

    Permalink
  39. def toData(json: Json, label: DataType[_])(implicit activeContext: AC): Task[Any]

    Permalink
  40. def toDatatype(obj: Map[String, Json])(implicit activeContext: AC): Task[DataType[Any]]

    Permalink
  41. def toEdge(expandedJson: Map[String, Json], expectedTypes: List[Property])(implicit activeContext: AC): Option[Task[Edge[Any, Any]]]

    Permalink
  42. def toEdge(expandedJson: Map[String, Json], expectedType: Option[Property])(implicit activeContext: AC): Option[Task[Edge[Any, Any]]]

    Permalink
  43. def toGeometric[T](json: Json, label: GeometricType[T])(implicit activeContext: AC): Task[T]

    Permalink
  44. def toLabeledNode(json: Json, ontology: Ontology, activeContext: AC = getNewActiveContext): Task[Node]

    Permalink
  45. def toList(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[List[Any]]

    Permalink
  46. def toListSet(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[ListSet[Any]]

    Permalink
  47. def toListSetType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[ListSetType[Any]]

    Permalink
  48. def toListType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[ListType[Any]]

    Permalink
  49. def toLiteral[T](json: Json, label: LiteralType[T])(implicit activeContext: AC): Task[T]

    Permalink
  50. def toMap(list: List[Json], keyLabel: List[ClassType[_]], valueLabel: List[ClassType[_]])(implicit activeContext: AC): Task[Map[Any, Any]]

    Permalink
  51. def toMapType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[MapType[Any, Any]]

    Permalink
  52. def toNode(expandedJson: Map[String, Json], label: Option[Ontology])(implicit activeContext: AC): Task[Node]

    Permalink
  53. def toNode(json: Json, activeContext: AC = getNewActiveContext): Task[Node]

    Permalink
  54. def toObject(expandedJson: Map[String, Json], expectedType: Option[ClassType[_]])(implicit activeContext: AC): Task[(ClassType[Any], Any)]

    Permalink
  55. def toObject(json: Json, label: List[ClassType[_]])(implicit activeContext: AC): Task[(ClassType[Any], Any)]

    Permalink
  56. def toOntologies(json: Json)(implicit activeContext: AC): Task[List[Ontology]]

    Permalink
  57. def toOntology(obj: Map[String, Json])(implicit activeContext: AC): Task[Ontology]

    Permalink
  58. def toPrimitive(json: Json): Option[Any]

    Permalink
  59. def toProperties(json: Json)(implicit activeContext: AC): Task[List[Property]]

    Permalink
  60. def toProperty(iri: String)(implicit activeContext: AC): Task[Property]

    Permalink
  61. def toProperty(obj: Map[String, Json])(implicit activeContext: AC): Task[Property]

    Permalink
  62. def toResource(json: Json, expectedType: Option[ClassType[_]])(implicit activeContext: AC): Task[Resource[Any]]

    Permalink
  63. def toResource(obj: Map[String, Json], expectedType: Option[ClassType[_]])(implicit activeContext: AC): Task[Resource[Any]]

    Permalink

  64. def toSet(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[Set[Any]]

    Permalink
  65. def toSetType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[SetType[Any]]

    Permalink
  66. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  67. def toStructured[T](json: Json, label: StructuredType[T])(implicit activeContext: AC): Task[T]

    Permalink
  68. def toTuple[T](json: List[Json], label: TupleType[T])(implicit activeContext: AC): Task[T]

    Permalink
  69. def toTuple2(json: List[Json], label1: List[ClassType[_]], label2: List[ClassType[_]])(implicit activeContext: AC): Task[(Any, Any)]

    Permalink
  70. def toTuple2Type(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[Tuple2Type[Any, Any]]

    Permalink
  71. def toTuple3(json: List[Json], label1: List[ClassType[_]], label2: List[ClassType[_]], label3: List[ClassType[_]])(implicit activeContext: AC): Task[(Any, Any, Any)]

    Permalink
  72. def toTuple3Type(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[Tuple3Type[Any, Any, Any]]

    Permalink
  73. def toTuple4(json: List[Json], label1: List[ClassType[_]], label2: List[ClassType[_]], label3: List[ClassType[_]], label4: List[ClassType[_]])(implicit activeContext: AC): Task[(Any, Any, Any, Any)]

    Permalink
  74. def toTuple4Type(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[Tuple4Type[Any, Any, Any, Any]]

    Permalink
  75. def toValue(json: Json, label: DataType[_])(implicit activeContext: AC): Task[Value[Any]]

    Permalink
  76. def toVector(list: List[Json], label: List[ClassType[_]])(implicit activeContext: AC): Task[Vector[Any]]

    Permalink
  77. def toVectorType(expandedJson: Map[String, Json])(implicit activeContext: AC): Task[VectorType[Any]]

    Permalink
  78. def tryData(expandedJson: Map[String, Json], expectedType: Option[DataType[_]])(implicit activeContext: AC): Option[Task[Any]]

    Permalink
  79. def tryEdgeRef(json: Json, label: Property)(implicit activeContext: AC): Option[Task[Edge[_, _]]]

    Permalink
  80. def tryNodeRef(json: Json)(implicit activeContext: AC): Option[Task[Node]]

    Permalink
  81. def tryRaw(json: Json)(implicit activeContext: AC): Option[Task[(ClassType[Any], Any)]]

    Permalink
  82. def tryValue(expandedJson: Map[String, Json], expectedType: Option[DataType[_]])(implicit activeContext: AC): Option[Task[Value[Any]]]

    Permalink
  83. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. def withEdges[T <: Resource[_]](resource: T, otherJson: Map[String, Json])(implicit activeContext: AC): Task[T]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped