# yj **Repository Path**: mirrors_sourcegraph/yj ## Basic Information - **Project Name**: yj - **Description**: Convert YAML to JSON - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # yj The `yj` command reads YAML from stdin (or a file) and writes JSON to stdout (or to a file with the `-o` flag). Convert JSON to YAML with [jy](https://github.com/sourcegraph/jy). ## Examples ```sh $ echo "hello: world" | yj {"hello":"world"} $ yj input.yml -o output.json ``` ## Install Install the latest with `go get -u github.com/sourcegraph/yj`.