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

Function MarshalWrite

alias.go:357–360  ·  view source on GitHub ↗

MarshalWrite serializes a Go value into an [io.Writer] according to the provided marshal and encode options (while ignoring unmarshal or decode options). It does not terminate the output with a newline. See [Marshal] for details about the conversion of a Go value into JSON.

(out io.Writer, in any, opts ...Options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

Example_serveHTTPFunction · 0.92
TestMarshalFunction · 0.70

Calls 1

Tested by 3

Example_serveHTTPFunction · 0.74
TestMarshalFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…