Skip to content

Commit

Permalink
Update jsonrepair.go
Browse files Browse the repository at this point in the history
  • Loading branch information
RealAlexandreAI authored May 22, 2024
1 parent cda955f commit 8ae33a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jsonrepair.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func (p *JSONParser) parseObject() map[string]any {
}

c, b = p.getByte(0)
//nolint
if !b || c != ':' {
}

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

c, b = p.getByte(0)
//nolint
if b && c != '}' {
}

Expand Down

0 comments on commit 8ae33a8

Please sign in to comment.