()
| 543 | } |
| 544 | |
| 545 | func (j *jsonEncoded) AsText() (*string, error) { |
| 546 | if dec := j.alreadyDecoded(); dec != nil { |
| 547 | return dec.AsText() |
| 548 | } |
| 549 | |
| 550 | decoded, err := j.decode() |
| 551 | if err != nil { |
| 552 | return nil, err |
| 553 | } |
| 554 | return decoded.AsText() |
| 555 | } |
| 556 | |
| 557 | func (j *jsonEncoded) AsDecimal() (*apd.Decimal, bool) { |
| 558 | if dec := j.alreadyDecoded(); dec != nil { |
nothing calls this directly
no test coverage detected