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