MCPcopy Create free account
hub / github.com/apache/fory / WriteData

Method WriteData

go/fory/map_primitive.go:821–823  ·  view source on GitHub ↗
(ctx *WriteContext, value reflect.Value)

Source from the content-addressed store, hash-verified

819type stringStringMapSerializer struct{}
820
821func (s stringStringMapSerializer) WriteData(ctx *WriteContext, value reflect.Value) {
822 writeMapStringString(ctx.buffer, value.Interface().(map[string]string), false)
823}
824
825func (s stringStringMapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) {
826 done := writeMapRefAndType(ctx, refMode, writeType, value)

Callers

nothing calls this directly

Calls 1

writeMapStringStringFunction · 0.85

Tested by

no test coverage detected