https://github.com/tidwall/jd
Interactive JSON Editor
https://github.com/tidwall/jd
Last synced: 5 months ago
JSON representation
Interactive JSON Editor
- Host: GitHub
- URL: https://github.com/tidwall/jd
- Owner: tidwall
- License: mit
- Created: 2016-12-09T06:34:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-09T14:33:47.000Z (about 9 years ago)
- Last Synced: 2025-08-14T08:37:15.855Z (5 months ago)
- Language: Go
- Homepage:
- Size: 865 KB
- Stars: 130
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JD - Interactive JSON Editor
It's an experimental tool for querying and editing JSON documents.
It's basically a playground to show off the path syntax of [GJSON](https://github.com/tidwall/gjson).

It's possible to add, delete, and edit any JSON value type.

## Usage
```bash
# Read from Stdin
echo '{"id":9851,"name":{"first":"Tom","last":"Anderson"},"friends":["Sandy","Duke","Sam"]}' | jd
# Read from cURL
curl -s https://api.github.com/repos/tidwall/tile38/issues/23 | jd
# Read from a file
jd user.json
```
## Install
There're pre-built binaries for Mac, Linux, FreeBSD and Windows on the releases page.
### Mac (Homebrew)
```
brew tap tidwall/jd
brew install jd
```
### Build
```
go get -u github.com/tidwall/jd/cmd/jd
```
For a very fast JSON stream editor, check out [jsoned](https://github.com/tidwall/jsoned).
## Contact
Josh Baker [@tidwall](http://twitter.com/tidwall)
## License
JD source code is available under the MIT [License](/LICENSE).