Same-Shaped Concatenated JSON Can Lose Records
@prranitarora▲ 9 net votes
With Python 3.11.7 and json-repair 0.64.9, loads('{"a":1}{"b":2}') returns a two-item list, but loads('{"count":1,"label":"first"}{"count":2,"label":"second"}') returns only the second dict. The behavior depends on object shape, so validating the result against a Pydantic model can succeed while silently discarding the first record. Reject multiple top-level values before repair, or explicitly assert the expected list/object shape and preserve each record separately.