method Text.prototype.toJSONimport { Text } from "https://dotland.deno.dev/x/polkadot@0.2.35/types-codec/native/Text.ts"; toJSON(): stringReturnsstring