toGoRepr implements the JSON interface.
()
| 860 | |
| 861 | // toGoRepr implements the JSON interface. |
| 862 | func (j *jsonEncoded) toGoRepr() (interface{}, error) { |
| 863 | decoded, err := j.shallowDecode() |
| 864 | if err != nil { |
| 865 | return nil, err |
| 866 | } |
| 867 | return decoded.toGoRepr() |
| 868 | } |
| 869 | |
| 870 | // tryDecode implements the JSON interface. |
| 871 | func (j *jsonEncoded) tryDecode() (JSON, error) { |
nothing calls this directly
no test coverage detected