| 16 | } |
| 17 | |
| 18 | type JSONParser struct { |
| 19 | reader *bufio.Reader |
| 20 | parser fastjson.Parser |
| 21 | buf []byte |
| 22 | mapping map[string]string |
| 23 | } |
| 24 | |
| 25 | func NewJSONParser(config JSONConfig, in io.Reader) (*JSONParser, error) { |
| 26 | parser := &JSONParser{ |
nothing calls this directly
no outgoing calls
no test coverage detected