Skip to content

Commit 8ae33a8

Browse files
Update jsonrepair.go
1 parent cda955f commit 8ae33a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jsonrepair.go

+2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ func (p *JSONParser) parseObject() map[string]any {
172172
}
173173

174174
c, b = p.getByte(0)
175+
//nolint
175176
if !b || c != ':' {
176177
}
177178

@@ -195,6 +196,7 @@ func (p *JSONParser) parseObject() map[string]any {
195196
}
196197

197198
c, b = p.getByte(0)
199+
//nolint
198200
if b && c != '}' {
199201
}
200202

0 commit comments

Comments
 (0)