json/read-str returns incomplete results

Description

I tried upgrading to data.json 2.2.0 but it appears that it will only ever return JSON objects with 8 keys. Looks like an incorrect use of transients that don't survive the promotion from array maps to hash maps.

Returns only 8 entries (array map threshold), doesn't matter which keys are used.

Environment

None

Activity

Show:
Alex Miller
April 19, 2021, 1:04 PM

Rather than applying the patch, I used git revert to rollback the change in DJSON-36. I also added a couple tests for larger arrays and objects which would presumably have caught this. Releasing a new version with the revert...

Fixed

Assignee

Alex Miller

Reporter

Thomas Heller