Home / Type/ Core Type — gin Architecture

Core Type — gin Architecture

Architecture documentation for the Core type/interface in api.go from the gin codebase.

Entity Profile

Source Code

codec/json/api.go lines 13–19

type Core interface {
	Marshal(v any) ([]byte, error)
	Unmarshal(data []byte, v any) error
	MarshalIndent(v any, prefix, indent string) ([]byte, error)
	NewEncoder(writer io.Writer) Encoder
	NewDecoder(reader io.Reader) Decoder
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free