MCPcopy Create free account
hub / github.com/DoNewsCode/core / Unmarshal

Method Unmarshal

contract/codec.go:5–5  ·  view source on GitHub ↗
(data []byte, value interface{})

Source from the content-addressed store, hash-verified

3// Codec is an interface for serialization and deserialization.
4type Codec interface {
5 Unmarshal(data []byte, value interface{}) error
6 Marshal(value interface{}) ([]byte, error)
7}

Callers 15

TestCodec_UnmarshalFunction · 0.65
UnmarshalMethod · 0.65
TestJSON_UnmarshalFunction · 0.65
UnmarshalMethod · 0.65
TestContextMeta_crudFunction · 0.65
ExampleBaggage_UnmarshalFunction · 0.65
NewEnvFromConfFunction · 0.65

Implementers 3

Codeccodec/yaml/yaml.go
Codeccodec/json/json.go
CodecParserconfig/codec_parser.go

Calls

no outgoing calls