MCPcopy Create free account
hub / github.com/dinedal/textql / MarshalJSON

Method MarshalJSON

sqlparser/sqltypes/sqltypes.go:178–180  ·  view source on GitHub ↗

MarshalJSON should only be used for testing. It's not a complete implementation.

()

Source from the content-addressed store, hash-verified

176// MarshalJSON should only be used for testing.
177// It's not a complete implementation.
178func (v Value) MarshalJSON() ([]byte, error) {
179 return json.Marshal(v.Inner)
180}
181
182// UnmarshalJSON should only be used for testing.
183// It's not a complete implementation.

Callers 3

TestNullFunction · 0.95
TestNumericFunction · 0.95
TestStringFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestNullFunction · 0.76
TestNumericFunction · 0.76
TestStringFunction · 0.76