Encoder is JSON encoder that supports construction of JSON values using methods.
| 7 | // Encoder is JSON encoder that supports construction of JSON values |
| 8 | // using methods. |
| 9 | type Encoder struct { |
| 10 | w *bytes.Buffer |
| 11 | Value |
| 12 | } |
| 13 | |
| 14 | // NewEncoder returns a new JSON encoder |
| 15 | func NewEncoder() *Encoder { |
nothing calls this directly
no outgoing calls
no test coverage detected