method Enum.prototype.toJSONimport { Enum } from "https://deno.land/x/polkadot@0.2.37/types-codec/base/index.ts"; toJSON(): AnyJsonReturnsAnyJson