MCPcopy Create free account
hub / github.com/couchbase/cbft / mustEncode

Function mustEncode

pindex_bleve.go:3164–3170  ·  view source on GitHub ↗
(w io.Writer, i interface{})

Source from the content-addressed store, hash-verified

3162}
3163
3164func mustEncode(w io.Writer, i interface{}) {
3165 if JSONImpl != nil && JSONImpl.GetManagerOptions()["jsonImpl"] != "std" {
3166 MustEncodeWithParser(w, i)
3167 } else {
3168 rest.MustEncode(w, i)
3169 }
3170}
3171
3172// MustEncodeWithParser encode with the registered parserType,
3173func MustEncodeWithParser(w io.Writer, i interface{}) {

Callers 1

QueryBleveFunction · 0.70

Calls 2

MustEncodeWithParserFunction · 0.85
GetManagerOptionsMethod · 0.80

Tested by

no test coverage detected