signed integers IntField writes an int field.
(key string, value int)
| 196 | |
| 197 | // IntField writes an int field. |
| 198 | func (jw *JSONWriter) IntField(key string, value int) { jw.Int64Field(key, int64(value)) } |
| 199 | |
| 200 | // IntElement writes an int element. |
| 201 | func (jw *JSONWriter) IntElement(value int) { jw.Int64Element(int64(value)) } |