This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, pitrou, rhettinger, serhiy.storchaka, ztane
Date 2013-08-08.07:27:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375946836.55.0.638466333527.issue18290@psf.upfronthosting.co.za>
In-reply-to
Content
Embedding JSON inside <script> tag doesn't differ from embedding any string in some format (i.e. JSON in Python string, Python sources in HTML, or XML in a shell script). We just escape characters which have special meaning.

I propose close this issue because embedding JSON (as any other generated code) in inline JavaScript can be done very easily with a sequence of string replaces. This has no relations to the json module.
History
Date User Action Args
2013-08-08 07:27:16serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, ezio.melotti, ztane
2013-08-08 07:27:16serhiy.storchakasetmessageid: <1375946836.55.0.638466333527.issue18290@psf.upfronthosting.co.za>
2013-08-08 07:27:16serhiy.storchakalinkissue18290 messages
2013-08-08 07:27:16serhiy.storchakacreate