JSONParser parses json records.
| 17 | |
| 18 | // JSONParser parses json records. |
| 19 | type JSONParser struct { |
| 20 | in *json.Decoder |
| 21 | err error // last error |
| 22 | last *record.Record // last parsed record |
| 23 | } |
| 24 | |
| 25 | // JSON creates a json parser. |
| 26 | func JSON(r io.Reader) *JSONParser { |
nothing calls this directly
no outgoing calls
no test coverage detected