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