Message194648
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. |
|
Date |
User |
Action |
Args |
2013-08-08 07:27:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, ezio.melotti, ztane |
2013-08-08 07:27:16 | serhiy.storchaka | set | messageid: <1375946836.55.0.638466333527.issue18290@psf.upfronthosting.co.za> |
2013-08-08 07:27:16 | serhiy.storchaka | link | issue18290 messages |
2013-08-08 07:27:16 | serhiy.storchaka | create | |
|