Example #1
0
func (j *jsonWriter) writeHead(s *siegfried.Siegfried) {
	j.w.WriteString(s.JSON())
	j.w.WriteString("\"files\":[")
}
Example #2
0
func (j *jsonWriter) writeHead(s *siegfried.Siegfried, ht hashTyp) {
	j.hh = ht.header(false)
	j.w.WriteString(s.JSON())
	j.w.WriteString("\"files\":[")
}