(ctx *ReadContext, value reflect.Value)
| 1076 | } |
| 1077 | |
| 1078 | func (s intIntMapSerializer) ReadData(ctx *ReadContext, value reflect.Value) { |
| 1079 | if value.IsNil() { |
| 1080 | value.Set(reflect.MakeMap(value.Type())) |
| 1081 | } |
| 1082 | ctx.RefResolver().Reference(value) |
| 1083 | result := readMapIntInt(ctx) |
| 1084 | value.Set(reflect.ValueOf(result)) |
| 1085 | } |
| 1086 | |
| 1087 | func (s intIntMapSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 1088 | done := readMapRefAndType(ctx, refMode, readType, value) |
no test coverage detected