(data []byte)
| 33 | } |
| 34 | |
| 35 | func (h *nCallArrayValueHandler) HandleArrayValue(data []byte) (p int, err error) { |
| 36 | h.callCount++ |
| 37 | if h.callCount == h.n { |
| 38 | return h.handler.HandleArrayValue(data) |
| 39 | } |
| 40 | return 0, nil |
| 41 | } |
| 42 | |
| 43 | func stdLibCompatibleValue(rjsonVal interface{}) interface{} { |
| 44 | switch v := rjsonVal.(type) { |
no test coverage detected