This line caues that before the closing bracket, an additional comma is written if the max entries limit is hit (whyever this limit exists...). It should be if (i < metadata_entries - 1) if I'm not mistaken. This additional comma causes python to fail reading the json sidecar file.
CryptomatteArnold/cryptomatte/cryptomatte.h
Line 584 in 83831bd
This line caues that before the closing bracket, an additional comma is written if the max entries limit is hit (whyever this limit exists...). It should be if (i < metadata_entries - 1) if I'm not mistaken. This additional comma causes python to fail reading the json sidecar file.