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

Method format

jsontext/value.go:137–149  ·  view source on GitHub ↗

format accepts two []Options to avoid the allocation of appending them together. It is equivalent to v.Format(append(opts1, opts2...)...).

(opts1, opts2 []Options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

FormatMethod · 0.95
CompactMethod · 0.95
IndentMethod · 0.95
CanonicalizeMethod · 0.95
runValueFunction · 0.80

Calls 5

getBufferedEncoderFunction · 0.85
putBufferedEncoderFunction · 0.85
SetMethod · 0.80
JoinMethod · 0.45
WriteValueMethod · 0.45

Tested by 1

runValueFunction · 0.64