(buf *bytes.Buffer)
| 612 | } |
| 613 | |
| 614 | func (j jsonObject) Format(buf *bytes.Buffer) { |
| 615 | buf.WriteByte('{') |
| 616 | for i := range j { |
| 617 | if i != 0 { |
| 618 | buf.WriteString(", ") |
| 619 | } |
| 620 | encodeJSONString(buf, string(j[i].k)) |
| 621 | buf.WriteString(": ") |
| 622 | j[i].v.Format(buf) |
| 623 | } |
| 624 | buf.WriteByte('}') |
| 625 | } |
| 626 | |
| 627 | func (jsonNull) Size() uintptr { return 0 } |
| 628 |
nothing calls this directly
no test coverage detected