New submission from Kjartan Hrafnkelsson <geo...@bund.lu>:

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 
(http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf) 
JSON should use double quotes not single quotes.

----------
components: Library (Lib)
messages: 382615
nosy: imeuropa
priority: normal
severity: normal
status: open
title: JSON.dumps() creates invalid JSON with single quotes
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42583>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to