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

Function MarshalEncode

alias.go:368–371  ·  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 3

MarshalJSONToMethod · 0.92
arshal_test.goFile · 0.70

Calls 1

Tested by 2

MarshalJSONToMethod · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…