Pretty print json contains python style coments, string literal.
Project description
Pretty Format JSON
Pretty print json contains python style coments, string literal.
pip3 install pretty-format-json
Binaries
pretty_format_json
: parse NodeJS style, Python style text to JSONyaml_json
: Convert between Yaml and JSON
Use it in VIM
Add noremap <a-j> :%!pretty_format_json<CR>
(or your key binding) to your config file.
noremap <a-j> :%!pretty_format_json<CR>
noremap <a-k> :%!yaml_json<CR>
noremap <a-c> :%!csv_json<CR>
When you open a blank buffer, paste the text copied from somewhere into,
then use Alt+j
to convert to JSON,
use Alt-k
to convert to Yaml and back to JSON.
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 Distribution
Built Distribution
Close
Hashes for pretty_format_json-0.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd1a8618a36a9c18dfc29e0af7a553c153e6113445537c6771e832224845000 |
|
MD5 | 0a232c12a55c1b6d92b0aed41a5223fa |
|
BLAKE2b-256 | 4ae68e3fb74ccb23a32d43b35592197bfc47eca3220b13abf49e2ce070d084d6 |