JSONDecoder returns a new JSON decoder implementing the JSONDecoderI interface
(r io.Reader)
| 50 | |
| 51 | // JSONDecoder returns a new JSON decoder implementing the JSONDecoderI interface |
| 52 | func JSONDecoder(r io.Reader) JSONDecoderI { |
| 53 | return json.NewDecoder(r) |
| 54 | } |
| 55 | |
| 56 | // JSONEncoder returns a new JSON encoder implementing the JSONEncoderI interface |
| 57 | func JSONEncoder(w io.Writer) JSONEncoderI { |
no outgoing calls