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

Method toGoRepr

postgres/parser/json/json.go:1736–1736  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1734func (jsonFalse) toGoRepr() (interface{}, error) { return false, nil }
1735func (j jsonString) toGoRepr() (interface{}, error) { return string(j), nil }
1736func (j jsonNumber) toGoRepr() (interface{}, error) { return json.Number(j.String()), nil }
1737func (j jsonArray) toGoRepr() (interface{}, error) {
1738 result := make([]interface{}, len(j))
1739 for i, e := range j {

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected