MCPcopy Index your code
hub / github.com/go-eagle/eagle / JSONSnappyEncoding

Struct JSONSnappyEncoding

pkg/encoding/json_encoding.go:107–107  ·  view source on GitHub ↗

JSONSnappyEncoding json格式和snappy压缩

Source from the content-addressed store, hash-verified

105
106// JSONSnappyEncoding json格式和snappy压缩
107type JSONSnappyEncoding struct{}
108
109// Marshal 序列化
110func (s JSONSnappyEncoding) Marshal(v interface{}) (data []byte, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected