# json-escape
A CLI tool that reads a string from stdin and outputs it as a JSON-escaped string,
wrapped in double quotes — ready to paste directly into JSON.
## Installation
Download the latest binary for your platform from the
[GitHub Releases](https://github.com/nick-the-nuke/json-escape/releases) page.
| Linux x86_64 | `json-escape-x86_64-unknown-linux-gnu.tar.gz` |
| macOS x86_64 | `json-escape-x86_64-apple-darwin.tar.gz` |
| macOS ARM64 | `json-escape-aarch64-apple-darwin.tar.gz` |
| Windows x86_64 | `json-escape-x86_64-pc-windows-msvc.zip` |
## Usage
```
```
## Flags
### `--no-escape-slash`
By default, `json-escape` escapes forward slashes (`/` → `\/`), which is safe
for HTML/script embedding. Use `--no-escape-slash` to output `/` as-is:
```
```