MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / MaybeDecode

Method MaybeDecode

pkg/util/json/encoded.go:857–859  ·  view source on GitHub ↗

MaybeDecode implements the JSON interface.

()

Source from the content-addressed store, hash-verified

855
856// MaybeDecode implements the JSON interface.
857func (j *jsonEncoded) MaybeDecode() JSON {
858 return j.mustDecode()
859}
860
861// toGoRepr implements the JSON interface.
862func (j *jsonEncoded) toGoRepr() (interface{}, error) {

Callers

nothing calls this directly

Calls 1

mustDecodeMethod · 0.95

Tested by

no test coverage detected