(ctx *ReadContext, value reflect.Value)
| 971 | } |
| 972 | |
| 973 | func (s stringBoolMapSerializer) ReadData(ctx *ReadContext, value reflect.Value) { |
| 974 | if value.IsNil() { |
| 975 | value.Set(reflect.MakeMap(value.Type())) |
| 976 | } |
| 977 | ctx.RefResolver().Reference(value) |
| 978 | result := readMapStringBool(ctx) |
| 979 | value.Set(reflect.ValueOf(result)) |
| 980 | } |
| 981 | |
| 982 | func (s stringBoolMapSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 983 | done := readMapRefAndType(ctx, refMode, readType, value) |
no test coverage detected