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