Recursively convert JSON including json-string to YAML
Project description
rj2y
This CLI tool is a simple utility to convert JSON to YAML. Especially useful when you want to convert JSON including embedded JSON as a string.
It may be convenient to reading server logs. Using with jq
and yq
is recommended.
Installation
pipx install rj2y
Usage
cat some.json | rj2y
rj2y some.json
Example
input json and output yaml
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
rj2y-0.1.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
rj2y-0.1.1-py3-none-any.whl
(3.1 kB
view hashes)