maca/crdt-replicated-tree/4.0.1

NOTE: the latest version is 5.0.0

Formerly maca/crdt-replicated-graph. Search finds this package by either name.

CRDTree.Json

Replicated Tree JSON serialization

operationEncoder : (a -> Value) -> Operation a -> Value

Encoder for an operation, expects a function that takes anything and returns a value

operationDecoder : Decoder a -> Decoder (Operation a)

Decoder for an operation