method typesCodec.CodecMap.prototype.toJSONimport { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { CodecMap } = typesCodec; toJSON(): Record<string, AnyJson>ReturnsRecord<string, AnyJson>