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

Function EncodeJSONEmptyObject

pkg/util/encoding/encoding.go:734–736  ·  view source on GitHub ↗

EncodeJSONEmptyObject returns a byte array b with a byte to signify an empty JSON object.

(b []byte)

Source from the content-addressed store, hash-verified

732
733// EncodeJSONEmptyObject returns a byte array b with a byte to signify an empty JSON object.
734func EncodeJSONEmptyObject(b []byte) []byte {
735 return append(b, escape, escapedTerm, jsonEmptyObject)
736}
737
738// EncodeStringDescending is the descending version of EncodeStringAscending.
739func EncodeStringDescending(b []byte, s string) []byte {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…