MCPcopy
hub / github.com/gin-gonic/gin / Marshal

Method Marshal

binding/json_test.go:85–87  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

83type customJsonApi struct{}
84
85func (j customJsonApi) Marshal(v any) ([]byte, error) {
86 return customConfig.Marshal(v)
87}
88
89func (j customJsonApi) Unmarshal(data []byte, v any) error {
90 return customConfig.Unmarshal(data, v)

Callers

nothing calls this directly

Calls 1

MarshalMethod · 0.65

Tested by

no test coverage detected