JSONEncoder returns a new JSON encoder implementing the JSONEncoderI interface
(w io.Writer)
| 55 | |
| 56 | // JSONEncoder returns a new JSON encoder implementing the JSONEncoderI interface |
| 57 | func JSONEncoder(w io.Writer) JSONEncoderI { |
| 58 | return json.NewEncoder(w) |
| 59 | } |
| 60 | |
| 61 | // JSONEncoderCanonical returns a new canonical JSON encoder implementing the JSONEncoderI interface |
| 62 | func JSONEncoderCanonical(w io.Writer) JSONEncoderI { |
no outgoing calls
no test coverage detected