MCPcopy Create free account
hub / github.com/buger/jsonparser / closingDelimiter

Function closingDelimiter

reader_parser.go:555–560  ·  view source on GitHub ↗

SYS-REQ-116

(opening byte)

Source from the content-addressed store, hash-verified

553
554// SYS-REQ-116
555func closingDelimiter(opening byte) byte {
556 if opening == '[' {
557 return ']'
558 }
559 return '}'
560}
561
562// SYS-REQ-116
563func (rp *ReaderParser) scanScalar(retain bool) error {

Callers 1

scanCompositeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected