MCPcopy
hub / github.com/knadh/koanf / Parser

Interface Parser

interfaces.go:17–20  ·  view source on GitHub ↗

Parser represents a configuration format parser.

Source from the content-addressed store, hash-verified

15
16// Parser represents a configuration format parser.
17type Parser interface {
18 Unmarshal([]byte) (map[string]any, error)
19 Marshal(map[string]any) ([]byte, error)
20}

Callers 16

LoadMethod · 0.65
TestKDL_UnmarshalFunction · 0.65
UnmarshalMethod · 0.65
UnmarshalMethod · 0.65
TestHJSON_UnmarshalFunction · 0.65
TestHJSON_MarshalFunction · 0.65
UnmarshalMethod · 0.65
TestHUML_UnmarshalFunction · 0.65
MarshalMethod · 0.65
TestKDL_MarshalFunction · 0.65
MarshalMethod · 0.65
MarshalMethod · 0.65

Implementers 10

Koanfkoanf.go
KDLparsers/kdl/kdl.go
HJSONparsers/hjson/hjson.go
HUMLparsers/huml/huml.go
DotEnvparsers/dotenv/dotenv.go
TOMLparsers/toml/toml.go
HCLparsers/hcl/hcl.go
YAMLparsers/yaml/yaml.go
JSONparsers/json/json.go
NTparsers/nestedtext/nestedtext.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…