Coming from https://gitlab.com/bmares/check-json5/-/issues/1, I was wondering if there is anything similar to object_pairs_hook from
import json5
json5.load(f, object_pairs_hook=...)
I checked the source code, the documentation and the issues but couldn't find anything related to duplicate key detection. It looks like decode automatically deduplicates the keys and doesn't raise/return any error.
Coming from https://gitlab.com/bmares/check-json5/-/issues/1, I was wondering if there is anything similar to
object_pairs_hookfromI checked the source code, the documentation and the issues but couldn't find anything related to duplicate key detection. It looks like
decodeautomatically deduplicates the keys and doesn't raise/return any error.