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