MCPcopy Create free account
hub / github.com/pingcap/tidb / String

Method String

pkg/types/json_binary.go:137–141  ·  view source on GitHub ↗

String implements fmt.Stringer interface.

()

Source from the content-addressed store, hash-verified

135
136// String implements fmt.Stringer interface.
137func (bj BinaryJSON) String() string {
138 out, err := bj.MarshalJSON()
139 terror.Log(err)
140 return string(out)
141}
142
143// Copy makes a copy of the BinaryJSON
144func (bj BinaryJSON) Copy() BinaryJSON {

Callers 1

UnquoteMethod · 0.95

Calls 2

MarshalJSONMethod · 0.95
LogFunction · 0.92

Tested by

no test coverage detected