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

Method Read

go/fory/map_primitive.go:842–848  ·  view source on GitHub ↗
(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)

Source from the content-addressed store, hash-verified

840}
841
842func (s stringStringMapSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) {
843 done := readMapRefAndType(ctx, refMode, readType, value)
844 if done || ctx.HasError() {
845 return
846 }
847 s.ReadData(ctx, value)
848}
849
850func (s stringStringMapSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) {
851 s.Read(ctx, refMode, false, false, value)

Callers 1

ReadWithTypeInfoMethod · 0.95

Calls 3

ReadDataMethod · 0.95
readMapRefAndTypeFunction · 0.85
HasErrorMethod · 0.45

Tested by

no test coverage detected