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

Function AddJSONPathTerminator

pkg/util/encoding/encoding.go:729–731  ·  view source on GitHub ↗

AddJSONPathTerminator adds a json path terminator to a byte array.

(b []byte)

Source from the content-addressed store, hash-verified

727
728// AddJSONPathTerminator adds a json path terminator to a byte array.
729func AddJSONPathTerminator(b []byte) []byte {
730 return append(b, escape, escapedTerm)
731}
732
733// EncodeJSONEmptyObject returns a byte array b with a byte to signify an empty JSON object.
734func EncodeJSONEmptyObject(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…