MCPcopy Create free account
hub / github.com/go-json-experiment/json / Marshal

Function Marshal

alias.go:348–351  ·  view source on GitHub ↗

Marshal serializes a Go value as a []byte according to the provided marshal and encode options (while ignoring unmarshal or decode options). It does not terminate the output with a newline. Type-specific marshal functions and methods take precedence over the default representation of a value. Funct

(in any, opts ...Options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

Example_orderedObjectFunction · 0.92
Example_textMarshalFunction · 0.92
Example_fieldNamesFunction · 0.92
Example_omitFieldsFunction · 0.92
Example_embeddedFieldsFunction · 0.92
Example_protoJSONFunction · 0.92
TestOmitEmptyOptionFunction · 0.92
TestStringOptionFunction · 0.92
TestNilSlicesAndMapsFunction · 0.92
TestByteArraysFunction · 0.92
TestPointerReceiverFunction · 0.92

Calls 1

Tested by 15

Example_orderedObjectFunction · 0.74
Example_textMarshalFunction · 0.74
Example_fieldNamesFunction · 0.74
Example_omitFieldsFunction · 0.74
Example_embeddedFieldsFunction · 0.74
Example_protoJSONFunction · 0.74
TestOmitEmptyOptionFunction · 0.74
TestStringOptionFunction · 0.74
TestNilSlicesAndMapsFunction · 0.74
TestByteArraysFunction · 0.74
TestPointerReceiverFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…