If it's just the exception you want, why not just copy the JSON::PP module, change its name to something like PP_Strict, and insert a check in sub object() right before assigning the value to the key?
In reply to Re: make duplicate JSON keys an error
by Anonymous Monk
in thread make duplicate JSON keys an error
by daxim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |