github.com/jackc/pgtype.JSON.EncodeText (method)

4 uses

	github.com/jackc/pgtype (current package)
		json.go#L138: func (src JSON) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
		json.go#L150: 	return src.EncodeText(ci, buf)
		jsonb.go#L54: 	return (JSON)(src).EncodeText(ci, buf)

	github.com/jackc/pgx/v4
		values.go#L46: 		buf, err := arg.EncodeText(ci, nil)