NewEncoder delegates to json.NewEncoder It is only here so this package can be a drop-in for common encoding/json uses
(w io.Writer)
| 33 | // NewEncoder delegates to json.NewEncoder |
| 34 | // It is only here so this package can be a drop-in for common encoding/json uses |
| 35 | func NewEncoder(w io.Writer) *jsoniter.Encoder { |
| 36 | return jsoniter.NewEncoder(w) |
| 37 | } |
| 38 | |
| 39 | // NewDecoder delegates to json.NewDecoder |
| 40 | // It is only here so this package can be a drop-in for common encoding/json uses |
no outgoing calls
no test coverage detected