I am getting JSON data from a hardware device in a Python script. The JSON data is not 100% valid: some base 10 integers have leading zeros, which is apparently forbidden. This makes the Python JSON module throw an exception.
Is there any way to ask the parser to be more permissive? Or am I condemned to do all the parsing myself?
I have already sent a mail to the hardware device manufacturer but they don't seem to care...