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

Function MarshalEncode

arshal.go:200–229  ·  view source on GitHub ↗

MarshalEncode serializes a Go value into an [jsontext.Encoder] according to the provided marshal or encode options (while ignoring unmarshal or decode options). The options provided take precedence over options already applied on the [jsontext.Encoder] and only apply for the duration of the marshal

(out *jsontext.Encoder, in any, opts ...Options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

ChangedWhitespaceFunction · 0.92
newMarshalErrorBeforeFunction · 0.85
marshalEncodeFunction · 0.85
EncoderMethod · 0.80
NeedObjectNameMethod · 0.80
GetMethod · 0.80
HasMethod · 0.80
InitializeMultilineMethod · 0.80
JoinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…