ReadStringFloat64Map reads map[string]float64 with optional ref/type info
(refMode RefMode, readType bool)
| 597 | |
| 598 | // ReadStringFloat64Map reads map[string]float64 with optional ref/type info |
| 599 | func (c *ReadContext) ReadStringFloat64Map(refMode RefMode, readType bool) map[string]float64 { |
| 600 | err := c.Err() |
| 601 | if refMode != RefModeNone { |
| 602 | if c.buffer.ReadInt8(err) == NullFlag { |
| 603 | return nil |
| 604 | } |
| 605 | } |
| 606 | if readType && !c.readExpectedTypeID(MAP) { |
| 607 | return nil |
| 608 | } |
| 609 | return readMapStringFloat64(c) |
| 610 | } |
| 611 | |
| 612 | // ReadStringBoolMap reads map[string]bool with optional ref/type info |
| 613 | func (c *ReadContext) ReadStringBoolMap(refMode RefMode, readType bool) map[string]bool { |
no test coverage detected