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

Method toGoRepr

pkg/util/json/json.go:226–226  ·  view source on GitHub ↗

toGoRepr returns the Go-style representation of this JSON value (map[string]interface{} for objects, etc.).

()

Source from the content-addressed store, hash-verified

224 // toGoRepr returns the Go-style representation of this JSON value
225 // (map[string]interface{} for objects, etc.).
226 toGoRepr() (interface{}, error)
227
228 // tryDecode returns an equivalent JSON which is not a jsonEncoded, returning
229 // an error if the encoded data was corrupt.

Callers 4

toGoReprMethod · 0.65
toGoReprMethod · 0.65
toGoReprMethod · 0.65
PrettyFunction · 0.65

Implementers 4

jsonNullpkg/util/json/json.go
jsonFalsepkg/util/json/json.go
jsonTruepkg/util/json/json.go
jsonEncodedpkg/util/json/encoded.go

Calls

no outgoing calls

Tested by

no test coverage detected