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

Function FormatNilMapAsNull

options.go:166–172  ·  view source on GitHub ↗

FormatNilMapAsNull specifies that a nil Go map should marshal as a JSON null instead of the default representation as an empty JSON object. This only affects marshaling and is ignored when unmarshaling.

(v bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…