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

Method Unmarshal

codec/json/go_json.go:28–30  ·  view source on GitHub ↗
(data []byte, v any)

Source from the content-addressed store, hash-verified

26}
27
28func (j gojsonApi) Unmarshal(data []byte, v any) error {
29 return json.Unmarshal(data, v)
30}
31
32func (j gojsonApi) MarshalIndent(v any, prefix, indent string) ([]byte, error) {
33 return json.MarshalIndent(v, prefix, indent)

Callers

nothing calls this directly

Calls 1

UnmarshalMethod · 0.65

Tested by

no test coverage detected