Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DoNewsCode/core
/ Marshal
Method
Marshal
contract/codec.go:6–6 ·
view source on GitHub ↗
(value interface{})
Source
from the content-addressed store, hash-verified
4
type
Codec
interface
{
5
Unmarshal(data []byte, value
interface
{}) error
6
Marshal(value
interface
{}) ([]byte, error)
7
}
Callers
11
TestCodec_Marshal
Function · 0.65
Marshal
Method · 0.65
TestJSON_Marshal
Function · 0.65
TestJSON_Unmarshal
Function · 0.65
Marshal
Method · 0.65
Marshal
Method · 0.65
MarshalJSON
Method · 0.65
TestCodecParser_Marshal
Function · 0.65
TestDuration_MarshalJSON
Function · 0.65
write
Method · 0.65
write
Method · 0.65
Implementers
3
Codec
codec/yaml/yaml.go
Codec
codec/json/json.go
CodecParser
config/codec_parser.go
Calls
no outgoing calls
Tested by
5
TestCodec_Marshal
Function · 0.52
TestJSON_Marshal
Function · 0.52
TestJSON_Unmarshal
Function · 0.52
TestCodecParser_Marshal
Function · 0.52
TestDuration_MarshalJSON
Function · 0.52