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

Method StripNulls

pkg/util/json/encoded.go:280–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

278}
279
280func (j *jsonEncoded) StripNulls() (JSON, bool, error) {
281 dec, err := j.shallowDecode()
282 if err != nil {
283 return nil, false, err
284 }
285 return dec.StripNulls()
286}
287
288func (j *jsonEncoded) ObjectIter() (*ObjectIterator, error) {
289 dec, err := j.shallowDecode()

Callers

nothing calls this directly

Calls 2

shallowDecodeMethod · 0.95
StripNullsMethod · 0.65

Tested by

no test coverage detected