MCPcopy Create free account
hub / github.com/dolthub/doltgresql / toGoRepr

Method toGoRepr

postgres/parser/json/encoded.go:805–811  ·  view source on GitHub ↗

toGoRepr implements the JSON interface.

()

Source from the content-addressed store, hash-verified

803
804// toGoRepr implements the JSON interface.
805func (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.
814func (j *jsonEncoded) tryDecode() (JSON, error) {

Callers

nothing calls this directly

Calls 2

shallowDecodeMethod · 0.95
toGoReprMethod · 0.65

Tested by

no test coverage detected