Metadata-Version: 2.1
Name: pretty-format-json
Version: 0.2.16
Summary: Pretty print json contains python style coments, string literal.
Home-page: https://github.com/weaming/pretty-format-json
Author: weaming
Author-email: garden.yuen@gmail.com
License: UNKNOWN
Project-URL: Source, https://github.com/weaming/pretty-format-json
Project-URL: Bug Reports, https://github.com/weaming/pretty-format-json
Keywords: json format
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: oyaml
Requires-Dist: data-process (==0.3.*)

# Pretty Format JSON

Pretty print json contains python style coments, string literal.

```
pip3 install pretty-format-json
```

Yaml and CSV write works fine in Python3 but not in Python2

## Binaries

* `pretty_format_json`: parse NodeJS style, Python style text to JSON
* `csv_json`: Convert between CSV and JSON
* `yaml_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.


