MCPcopy Create free account
hub / github.com/DoNewsCode/core / Marshal

Method Marshal

config/codec_parser.go:23–25  ·  view source on GitHub ↗

Marshal converts the map to bytes.

(m map[string]interface{})

Source from the content-addressed store, hash-verified

21
22// Marshal converts the map to bytes.
23func (c CodecParser) Marshal(m map[string]interface{}) ([]byte, error) {
24 return c.Codec.Marshal(m)
25}

Callers 1

TestCodecParser_MarshalFunction · 0.95

Calls 1

MarshalMethod · 0.65

Tested by 1

TestCodecParser_MarshalFunction · 0.76