MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / AddJSONPathTerminator

Function AddJSONPathTerminator

pkg/util/encoding/encoding.go:965–967  ·  view source on GitHub ↗

AddJSONPathTerminator adds a json path terminator to a byte array.

(b []byte)

Source from the content-addressed store, hash-verified

963
964// AddJSONPathTerminator adds a json path terminator to a byte array.
965func AddJSONPathTerminator(b []byte) []byte {
966 return append(b, escape, escapedTerm)
967}
968
969// AddJSONPathSeparator adds a json path separator to a byte array.
970func AddJSONPathSeparator(b []byte) []byte {

Callers 5

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…