MCPcopy
hub / github.com/caddyserver/caddy / isJSONRawMessage

Function isJSONRawMessage

modules.go:355–357  ·  view source on GitHub ↗

isJSONRawMessage returns true if the type is encoding/json.RawMessage.

(typ reflect.Type)

Source from the content-addressed store, hash-verified

353
354// isJSONRawMessage returns true if the type is encoding/json.RawMessage.
355func isJSONRawMessage(typ reflect.Type) bool {
356 return typ == JSONRawMessageType
357}
358
359// isModuleMapType returns true if the type is map[string]json.RawMessage.
360// It assumes that the string key is the module name, but this is not

Callers 2

isModuleMapTypeFunction · 0.85
LoadModuleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected