Internal JSON shape adapter for the independent algorithm envelope.
def read(maxDigits: Int32, maxNodes: Int32, maxItems: Int32, value: Json): Result[String, (Int32, Algorithm)]
Read only the specified envelope and exact node arities.
def write(n: Int32, graph: Algorithm): String
Render the complete typed graph without changing node order or sharing.