[issue42583] JSON.dumps() creates invalid JSON with single quotes

2020-12-07 Thread Kjartan Hrafnkelsson
Change by Kjartan Hrafnkelsson : -- stage: -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/issue42583> ___ ___ Pyth

[issue42583] JSON.dumps() creates invalid JSON with single quotes

2020-12-06 Thread Kjartan Hrafnkelsson
New submission from Kjartan Hrafnkelsson : the JSON.dumps() function should create valid JSON using double quotes only, however when the function is run with an object as its argument it results in invalid JSON using single quotes. As defined in the ECMA-404 JSON Data Interchange Syntax