prettify json data from clipboard
Project description
jsoncf
prettify json string from clipboard
- Github repository: https://github.com/idlewith/jsoncf/
- Documentation https://idlewith.github.io/jsoncf/
Install
pip install jsoncf
Usage
the json string below
{"employees":[ {"name":"Shyam", "email":"shyamjaiswal@gmail.com"}, {"name":"Bob", "email":"bob32@gmail.com"}, {"name":"Jai", "email":"jai87@gmail.com"} ]}
you can select the whole json string, then type Ctrl(Cmd) + C to copy,
then just type the command
jsoncf
OR
you can use it as args
jsoncf '{"employees":[ {"name":"Shyam", "email":"shyamjaiswal@gmail.com"}, {"name":"Bob", "email":"bob32@gmail.com"}, {"name":"Jai", "email":"jai87@gmail.com"} ]} '
the output below
{
"employees": [
{
"name": "Shyam",
"email": "shyamjaiswal@gmail.com"
},
{
"name": "Bob",
"email": "bob32@gmail.com"
},
{
"name": "Jai",
"email": "jai87@gmail.com"
}
]
}
and jsoncf also write json data to data.json in current path
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsoncf-0.0.6.tar.gz
(10.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
jsoncf-0.0.6-py3-none-any.whl
(10.6 kB
view details)
File details
Details for the file jsoncf-0.0.6.tar.gz.
File metadata
- Download URL: jsoncf-0.0.6.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.9.7 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
810e036112170ad60bfcc0638a084dfed94866198d963b2588df716826ae9868
|
|
| MD5 |
4da31607fcb6f31e8f6732da38692c2a
|
|
| BLAKE2b-256 |
be5d8ff1fa2ba201c46a559fb320166c5ff2135c21fff6e4ce6fbe54177d812f
|
File details
Details for the file jsoncf-0.0.6-py3-none-any.whl.
File metadata
- Download URL: jsoncf-0.0.6-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.9.7 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e3961f636ba5aab903af709f2db32f03e0c05bdbdb78b54b2637f582ed8539e
|
|
| MD5 |
4ff9477f4f4e3368db77c04c96f3b1b6
|
|
| BLAKE2b-256 |
76dfa5d8d2f385598e4b147d7a76fcca5d12f1803f1da0f4fee44a5331b2641e
|