object
CAPSJsonSerialiser extends JsonSerialiser
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
constructValue(cv: CypherValue): Json
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatGraph(graph: CAPSGraph, nodes: Seq[Json], rels: Seq[Json]): Json
-
def
formatNode(id: Long, labels: Set[String], properties: Map[String, Json]): Json
-
def
formatRel(id: Long, source: Long, target: Long, typ: String, properties: Map[String, Json]): Json
-
final
def
getClass(): Class[_]
-
implicit
val
graphEncoder: Encoder[CAPSGraph]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
implicit
val
recordsEncoder: Encoder[CAPSRecords]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toJsonString(graph: CAPSGraph): String
-
def
toJsonString(records: CAPSRecords): String
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
Serialises CAPSRecords to a JSON string. The format is as follows:
CAPSGraphs are serialized in the following format:
The format of scalar values follows the format of org.opencypher.okapi.api.value.CypherValue.CypherValue#toString. The format of nodes is as follows:
The format of relationships is as follows: