MCPcopy
hub / github.com/danielgtaylor/huma / Unmarshal

Method Unmarshal

api.go:280–280  ·  view source on GitHub ↗

Unmarshal unmarshals the given data into the given value. The content type

(contentType string, data []byte, v any)

Source from the content-addressed store, hash-verified

278
279 // Unmarshal unmarshals the given data into the given value. The content type
280 Unmarshal(contentType string, data []byte, v any) error
281
282 // UseMiddleware appends a middleware handler to the API middleware stack.
283 //

Callers 15

UnmarshalMethod · 0.65
jsonTagValueFunction · 0.65
DowngradeMethod · 0.65
TestCustomDateTypeFunction · 0.65
UnmarshalJSONMethod · 0.65
TestCustomUnmarshalTypeFunction · 0.65
TestFeaturesFunction · 0.65
ExampleModelValidatorFunction · 0.65
RegisterFunction · 0.65
BenchmarkRawBunRouterFunction · 0.65

Implementers 1

apiapi.go

Calls

no outgoing calls

Tested by 15

TestCustomDateTypeFunction · 0.52
UnmarshalJSONMethod · 0.52
TestCustomUnmarshalTypeFunction · 0.52
TestFeaturesFunction · 0.52
ExampleModelValidatorFunction · 0.52
BenchmarkRawBunRouterFunction · 0.52
BenchmarkRawEchoFunction · 0.52
BenchmarkRawEchoFastFunction · 0.52
BenchmarkRawGoFunction · 0.52
BenchmarkRawChiFunction · 0.52