escapejson

Escape JSON strings for safe execution as literal javascript and inclusion in HTML <script> environments

Installation

In a virtualenv (see these instructions if you need to create one):

pip3 install escapejson

Dependencies

  • None

Releases

Version Released Bookworm
Python 3.11
Trixie
Python 3.13
Files
1.0 2020-03-31    
0.2 2016-09-09    
0.1 2016-09-09    

Issues with this package?

Page last updated 2026-12-03 19:14:56 UTC