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

Function FromEncoding

pkg/util/json/encode.go:213–215  ·  view source on GitHub ↗

FromEncoding returns a JSON value which is lazily decoded.

(b []byte)

Source from the content-addressed store, hash-verified

211
212// FromEncoding returns a JSON value which is lazily decoded.
213func FromEncoding(b []byte) (JSON, error) {
214 return newEncodedFromRoot(b)
215}
216
217func decodeJSONArray(containerHeader uint32, b []byte) ([]byte, JSON, error) {
218 length := containerHeader & containerHeaderLenMask

Callers

nothing calls this directly

Calls 1

newEncodedFromRootFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…