MCPcopy Index your code
hub / github.com/unrolled/render / JSONEncoder

Interface JSONEncoder

engine.go:38–42  ·  view source on GitHub ↗

JSONEncoder is the interface for encoding/json.Encoder.

Source from the content-addressed store, hash-verified

36
37// JSONEncoder is the interface for encoding/json.Encoder.
38type JSONEncoder interface {
39 Encode(v interface{}) error
40 SetEscapeHTML(on bool)
41 SetIndent(prefix, indent string)
42}
43
44// JSON built-in renderer.
45type JSON struct {

Callers 6

RenderMethod · 0.65
renderStreamingJSONMethod · 0.65
RenderMethod · 0.65
renderStreamingJSONMethod · 0.65
RenderMethod · 0.65
renderStreamingJSONMethod · 0.65

Implementers 1

TestEncoderrender_json_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…