(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value)
| 963 | } |
| 964 | |
| 965 | func (s stringBoolMapSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) { |
| 966 | done := writeMapRefAndType(ctx, refMode, writeType, value) |
| 967 | if done || ctx.HasError() { |
| 968 | return |
| 969 | } |
| 970 | writeMapStringBool(ctx.buffer, value.Interface().(map[string]bool), hasGenerics) |
| 971 | } |
| 972 | |
| 973 | func (s stringBoolMapSerializer) ReadData(ctx *ReadContext, value reflect.Value) { |
| 974 | if value.IsNil() { |
nothing calls this directly
no test coverage detected