MCPcopy
hub / github.com/elastic/go-elasticsearch / JSONEncoder

Interface JSONEncoder

esutil/json_reader.go:35–37  ·  esutil/json_reader.go::JSONEncoder

JSONEncoder defines the interface for custom JSON encoders.

Source from the content-addressed store, hash-verified

33
34// JSONEncoder defines the interface for custom JSON encoders.
35type JSONEncoder interface {
36 EncodeJSON(io.Writer) error
37}
38
39// JSONReader represents a reader which takes an interface value,
40// encodes it into JSON, and wraps it in an io.ReadSeeker.

Callers 1

encodeMethod · 0.65

Implementers 2

Fooesutil/json_reader_internal_test.go
errEncoderesutil/json_reader_internal_test.go

Calls

no outgoing calls

Tested by

no test coverage detected