def Record.json

bend-kit-migrate@0.3.0.0 · migrate.bend:685

import bend-kit-migrate@0.3.0.0/migrate.bend as Migrate
import Base
import bend-kit-json@0.7.0.0/json.bend as Json

685# The record as a JSON object in its own version.
686def Record.json(r: Record) -> Json.Val:
687  match r:
688    case R1{x}:
689      V1.json(x)
690    case R2{x}:
691      V2.json(x)
692    case R3{x}:
693      V3.json(x)

Uses (5)

Used by (1)