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