(ctx *ReadContext, value reflect.Value)
| 901 | } |
| 902 | |
| 903 | func (s stringIntMapSerializer) ReadData(ctx *ReadContext, value reflect.Value) { |
| 904 | if value.IsNil() { |
| 905 | value.Set(reflect.MakeMap(value.Type())) |
| 906 | } |
| 907 | ctx.RefResolver().Reference(value) |
| 908 | result := readMapStringInt(ctx) |
| 909 | value.Set(reflect.ValueOf(result)) |
| 910 | } |
| 911 | |
| 912 | func (s stringIntMapSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 913 | done := readMapRefAndType(ctx, refMode, readType, value) |
no test coverage detected