(buf *bytes.Buffer)
| 651 | } |
| 652 | |
| 653 | func (j jsonArray) Format(buf *bytes.Buffer) { |
| 654 | buf.WriteByte('[') |
| 655 | for i := range j { |
| 656 | if i != 0 { |
| 657 | buf.WriteString(", ") |
| 658 | } |
| 659 | j[i].Format(buf) |
| 660 | } |
| 661 | buf.WriteByte(']') |
| 662 | } |
| 663 | |
| 664 | func (j jsonObject) Format(buf *bytes.Buffer) { |
| 665 | buf.WriteByte('{') |
nothing calls this directly
no test coverage detected