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

Method SetIndent

v1/stream.go:166–172  ·  view source on GitHub ↗

SetIndent instructs the encoder to format each subsequent encoded value as if indented by the package-level function Indent(dst, src, prefix, indent). Calling SetIndent("", "") disables indentation.

(prefix, indent string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestEncoderFunction · 0.95
TestEncoderIndentFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestEncoderFunction · 0.76
TestEncoderIndentFunction · 0.76