method Compact.prototype.toJSONimport { Compact } from "https://deno.land/x/polkadot@0.2.28/types-codec/mod.ts"; toJSON(): AnyJsonReturnsAnyJson