method Compact.prototype.toJSONimport { Compact } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts"; toJSON(): AnyJsonReturnsAnyJson