MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / closeGroup

Method closeGroup

logger/formatter_json.go:248–253  ·  view source on GitHub ↗

closeGroup closes the most recently opened group in the buffer.

()

Source from the content-addressed store, hash-verified

246
247// closeGroup closes the most recently opened group in the buffer.
248func (s *formatterJSON) closeGroup() {
249 s.groupsOpened--
250
251 s.buf.append(jsonGroupCloseToken)
252 s.sep = jsonAttributeSep
253}
254
255// jsonSafeSet is a set of runes that are safe to include in JSON strings without escaping.
256// Some runes here are explicitly marked as unsafe for clarity.

Callers 2

formatMethod · 0.95
appendGroupMethod · 0.95

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected