{"id":17070665,"url":"https://github.com/paulhammond/jp","last_synced_at":"2025-04-24T03:45:31.082Z","repository":{"id":8068242,"uuid":"9480589","full_name":"paulhammond/jp","owner":"paulhammond","description":"An accurate, forgiving and fast JSON reformatter","archived":false,"fork":false,"pushed_at":"2024-12-14T17:48:30.000Z","size":38,"stargazers_count":62,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-24T03:45:24.623Z","etag":null,"topics":["cli","formatter","json"],"latest_commit_sha":null,"homepage":"https://paulhammond.org/jp","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulhammond.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-04-16T19:21:20.000Z","updated_at":"2025-04-03T15:14:24.000Z","dependencies_parsed_at":"2024-10-28T14:18:49.271Z","dependency_job_id":"0370532d-a0b1-4295-8aad-da57b9d674aa","html_url":"https://github.com/paulhammond/jp","commit_stats":{"total_commits":51,"total_committers":1,"mean_commits":51.0,"dds":0.0,"last_synced_commit":"b880c628fc5fe9596f3a60de9f704c94639e2edb"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulhammond%2Fjp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulhammond%2Fjp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulhammond%2Fjp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulhammond%2Fjp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulhammond","download_url":"https://codeload.github.com/paulhammond/jp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250559994,"owners_count":21450168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","formatter","json"],"created_at":"2024-10-14T11:32:51.369Z","updated_at":"2025-04-24T03:45:31.060Z","avatar_url":"https://github.com/paulhammond.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jp\n\n`jp` is a command line tool that reformats JSON to make it easier to read:\n\n    $ cat names.json\n    {\"names\":[\"Alice\",\"Bob\"]}\n    $ jp names.json\n    {\n      \"names\": [\n        \"Alice\",\n        \"Bob\"\n      ]\n    }\n\nIt only adds and removes whitespace, which means that your data won’t get\nsilently altered. For example, `\"\\u2603\"` won’t get converted to `\"☃\"`, and\n`1.1e1` won’t turn into `11`. The ordering remains the same, and invalid JSON\ncan be reformatted (within reason). This stuff shouldn’t matter, but people make\nmistakes even with a well defined format like JSON, and accurate tools are\nimportant when you’re trying to work out what’s gone wrong.\n\nFor more information see the [project homepage][jp].\n\n[jp]: https://paulhammond.org/jp\n\n## Installing\n\nUsing [Homebrew](http://brew.sh/):\n\n    brew install paulhammond/tap/jp\n\nIf you don't use Homebrew you can download a [precompiled binary][releases] and\ncopy the `jp` file inside to somewhere in your path.\n\n[releases]: https://github.com/paulhammond/jp/releases\n\n## Using\n\nTo prettify a JSON file:\n\n    jp data.json\n\nTo prettify from stdin, use - as the filename:\n\n    curl -sL https://phmmnd.me/names.json | jp -\n\nTo compact a JSON file:\n\n    jp --compact data.json\n\nTo get help:\n\n    jp --help\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulhammond%2Fjp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulhammond%2Fjp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulhammond%2Fjp/lists"}