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

Method Encode

engine.go:39–39  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

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}

Callers 2

RenderMethod · 0.65
renderStreamingJSONMethod · 0.65

Implementers 1

TestEncoderrender_json_test.go

Calls

no outgoing calls

Tested by

no test coverage detected