toGoRepr implements the JSON interface.
()
| 789 | |
| 790 | // toGoRepr implements the JSON interface. |
| 791 | func (j *jsonEncoded) toGoRepr() (interface{}, error) { |
| 792 | decoded, err := j.shallowDecode() |
| 793 | if err != nil { |
| 794 | return nil, err |
| 795 | } |
| 796 | return decoded.toGoRepr() |
| 797 | } |
| 798 | |
| 799 | // tryDecode implements the JSON interface. |
| 800 | func (j *jsonEncoded) tryDecode() (JSON, error) { |
nothing calls this directly
no test coverage detected