Unescape json string, which is escaped for json. This is usually necessarry for webscraping.
Project description
Json-Unescape
Unescape json string, which is escaped for json. This is usually necessarry for webscraping.
Installation
pip install json-unescape
Usage
>>> from json_unescape import escape_json, unescape_json
>>> escape_json('{"foo": "bar,,,eee"}')
'{"key": "{\\"foo\\": \\"bar,,,eee\\"}"}'
>>> unescape_json(escape_json('{"key": "{\\"foo\\": \\"bar,,,eee\\"}"}'))
'{"foo": "bar,,,eee"}'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for json_unescape-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f1da97321fe8660ff64ed43eb74459c494730b18667944b5f450638598b4ac0 |
|
MD5 | ac3e8f8b78381330a7744c86824c1167 |
|
BLAKE2b-256 | 9e45d343549249ef8c2baadb6edb1f0024f5e55203337e762c2ab026d7af0940 |