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

Function AppendFormat

jsontext/value.go:45–53  ·  view source on GitHub ↗

AppendFormat formats the JSON value in src and appends it to dst according to the specified options. See [Value.Format] for more details about the formatting behavior. The dst and src may overlap. If an error is reported, then the entirety of src is appended to dst.

(dst []byte, src Bytes, opts ...Options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

CompactFunction · 0.92
appendIndentFunction · 0.92
BenchmarkAppendFormatFunction · 0.70

Calls 5

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

Tested by 1

BenchmarkAppendFormatFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…