trait Encode[Json, JsonObject] extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Encode
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type AC = ActiveContext[Json, JsonObject]
- type AP = ActiveProperty[Json, JsonObject]
- type JIP = JsonInProgress[Json, JsonObject]
- type JOIP = JsonObjectInProgress[Json, JsonObject]
- implicit class WithIriString extends AnyRef
Abstract Value Members
- abstract def apply[T <: Node](node: Node): String
- implicit abstract def boolToJson(boolean: Boolean): Json
- implicit abstract def doubleToJson(double: Double): Json
- abstract def fromEdge(edge: Edge[_, _])(implicit activeContext: AC): JOIP
- abstract def fromEdges(key: Property, edges: List[Edge[_, _]])(implicit activeContext: AC): JIP
- abstract def fromNode(node: Node)(implicit activeContext: AC): JOIP
- implicit abstract def geoToJson(geo: Geometry): Json
- abstract def getNewActiveContext: AC
- abstract def getNewActiveProperty: AP
- implicit abstract def intToJson(int: Int): Json
- implicit abstract def jsonObjectToJson(json: JsonObject): Json
- implicit abstract def listToJson(list: List[Json]): Json
- implicit abstract def longToJson(long: Long): Json
- implicit abstract def mapToJson(map: Map[String, Json]): Json
- implicit abstract def mapToJsonObject(map: Map[String, Json]): JsonObject
- implicit abstract def textToJson(text: String): Json
- implicit abstract def tuple2ListToJson(tuples: List[(Json, Json)]): Json
- implicit abstract def tuple2ToJson(tuples: (Json, Json)): Json
- implicit abstract def tuple3ToJson(tuples: (Json, Json, Json)): Json
- implicit abstract def tuple4ToJson(tuples: (Json, Json, Json, Json)): Json
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def ctListToJson(l: List[ClassType[_]])(implicit activeContext: AC): JIP
-
def
edgeInVToJson[T](edge: Edge[_, T])(implicit activeContext: AC): JIP
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fromAny(value: Any, expectedType: Option[ClassType[_]] = None)(implicit activeContext: AC): JIP
- def fromCalendar(value: Any, expectedType: CalendarType[_])(implicit activeContext: AC): JIP
- def fromCollection(value: Any, expectedType: CollectionType[_])(implicit activeContext: AC): JIP
- def fromData(value: Any, expectedType: DataType[_])(implicit activeContext: AC): JIP
- def fromDataType(dataType: DataType[_])(implicit activeContext: AC): JOIP
- def fromDate(value: Any, expectedType: LocalDateType[_])(implicit activeContext: AC): JIP
- def fromDateTime(value: Any, expectedType: DateTimeType[_])(implicit activeContext: AC): JIP
- def fromDouble(value: Any, expectedType: DoubleType[_])(implicit activeContext: AC): JIP
- def fromGeometric(value: Any, expectedType: GeometricType[_])(implicit activeContext: AC): JIP
- def fromInt(value: Any, expectedType: IntType[_])(implicit activeContext: AC): JIP
- def fromLiteral(value: Any, expectedType: LiteralType[_])(implicit activeContext: AC): JIP
- def fromLong(value: Any, expectedType: LongType[_])(implicit activeContext: AC): JIP
- def fromNumeric(value: Any, expectedType: NumericType[_])(implicit activeContext: AC): JIP
-
def
fromOntology(ontology: Ontology)(implicit activeContext: AC): JOIP
ontology to json, TODO: add and return @context
-
def
fromProperty(key: Property)(implicit activeContext: AC): JOIP
property to json, TODO: add and return @context
- def fromQuantity(value: Any, expectedType: QuantityType[_])(implicit activeContext: AC): JIP
- def fromStructured(value: Any, expectedType: StructuredType[_])(implicit activeContext: AC): JIP
- def fromText(value: Any, expectedType: TextType[_])(implicit activeContext: AC): JIP
- def fromTime(value: Any, expectedType: LocalTimeType[_])(implicit activeContext: AC): JIP
- def fromTuple(value: Any, expectedType: TupleType[_])(implicit activeContext: AC): JIP
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )