Commit Graph
3 Commits
Author SHA1 Message Date
panzhe b11a9cd5fe json_object_array_to_json_string: Hoist array length out of the loop
json_object_array_length() was re-evaluated on every iteration.
Move it out of the loop to align with json_object_deep_copy_recursive().
2026-09-07 15:23:26 +08:00
panzhe 5815babc4f Fix swapped lseek() arguments
lseek() expects (fd, offset, whence). The test passed (fd, SEEK_SET, 0),
which does not conform to the function signature. It should be corrected
to (fd, 0, SEEK_SET).
2026-09-07 09:58:09 +08:00
panzhe 0fbd6ae464 Fix typo in json_object_iterator.h 2026-09-02 17:21:36 +08:00