toGoRepr implements the JSON interface.
()
| 803 | |
| 804 | // toGoRepr implements the JSON interface. |
| 805 | func (j *jsonEncoded) toGoRepr() (interface{}, error) { |
| 806 | decoded, err := j.shallowDecode() |
| 807 | if err != nil { |
| 808 | return nil, err |
| 809 | } |
| 810 | return decoded.toGoRepr() |
| 811 | } |
| 812 | |
| 813 | // tryDecode implements the JSON interface. |
| 814 | func (j *jsonEncoded) tryDecode() (JSON, error) { |
nothing calls this directly
no test coverage detected