Skip to content

Commit 2a48eca

Browse files
committed
iterate
1 parent f29a5db commit 2a48eca

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/mlrval/mlrmap_json.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,8 @@ func (mlrmap *Mlrmap) marshalJSONAuxSingleLine(
122122
for pe := mlrmap.Head; pe != nil; pe = pe.Next {
123123
// Write the key which is necessarily string-valued in Miller, and in
124124
// JSON for that matter :)
125-
buffer.WriteString("\"")
126125
encoded := string(millerJSONEncodeString(pe.Key))
127126
buffer.WriteString(colorizer.MaybeColorizeKey(encoded, outputIsStdout))
128-
buffer.WriteString("\": ")
129127

130128
// Write the value which is a mlrval
131129
valueString, err := pe.Value.marshalJSONAux(jsonFormatting, elementNestingDepth+1, outputIsStdout)

0 commit comments

Comments
 (0)