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

Method AppendRaw

jsontext/encode.go:443–510  ·  view source on GitHub ↗

AppendRaw appends either a raw string (without double quotes) or number. Specify safeASCII if the string output is guaranteed to be ASCII without any characters (including '<', '>', and '&') that need escaping, otherwise this will validate whether the string needs escaping. The appended bytes for a

(k Kind, safeASCII bool, appendFn func([]byte) ([]byte, error))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

makeBytesArshalerFunction · 0.80
makeIntArshalerFunction · 0.80
makeUintArshalerFunction · 0.80
makeFloatArshalerFunction · 0.80
makeMethodArshalerFunction · 0.80
makeTimeArshalerFunction · 0.80

Calls 15

appendWhitespaceMethod · 0.95
NeedFlushMethod · 0.95
FlushMethod · 0.95
NeedEscapeFunction · 0.92
AppendQuoteFunction · 0.92
wrapSyntacticErrorFunction · 0.85
wrapWithObjectNameFunction · 0.85
MayAppendDelimMethod · 0.80
GetMethod · 0.80
NeedObjectNameMethod · 0.80
isValidNamespaceMethod · 0.80
isActiveNamespaceMethod · 0.80

Tested by

no test coverage detected