Fix flipped sign in JsonCursor::NextValue

This commit is contained in:
Nick Tobey
2025-01-08 17:35:44 -08:00
parent bb3d2f3413
commit c984466baa

View File

@@ -135,7 +135,7 @@ func (j *JsonCursor) NextValue(ctx context.Context) (result []byte, err error) {
if err != nil {
return
}
if cmp < 0 {
if cmp >= 0 {
break
}
parseChunk()