MCPcopy Create free account
hub / github.com/segmentio/encoding / MarshalJSON

Method MarshalJSON

json/fuzz/fuzz.go:130–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128}
129
130func (m *Marshaller) MarshalJSON() ([]byte, error) {
131 return json.Marshal(m.v)
132}
133
134func (m *Marshaller) UnmarshalJSON(data []byte) error {
135 return json.Unmarshal(data, &m.v)

Callers

nothing calls this directly

Calls 1

MarshalFunction · 0.92

Tested by

no test coverage detected