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

Method reformatArray

jsontext/encode.go:827–894  ·  view source on GitHub ↗

reformatArray parses a JSON array from the start of src and appends it to the end of dst, reformatting whitespace and strings as needed. It returns the extended dst buffer and the number of consumed input bytes.

(dst []byte, src Value, depth int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

reformatValueMethod · 0.95

Calls 6

AppendIndentMethod · 0.95
reformatValueMethod · 0.95
ConsumeWhitespaceFunction · 0.92
NewInvalidCharacterErrorFunction · 0.92
wrapWithArrayIndexFunction · 0.85
GetMethod · 0.80

Tested by

no test coverage detected