{"id":13862938,"url":"https://github.com/gongo/json-reformat","last_synced_at":"2026-03-13T03:30:20.581Z","repository":{"id":14501360,"uuid":"17214548","full_name":"gongo/json-reformat","owner":"gongo","description":"Reformat tool for JSON","archived":false,"fork":false,"pushed_at":"2022-09-06T00:44:43.000Z","size":214,"stargazers_count":172,"open_issues_count":0,"forks_count":20,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-02T06:06:59.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gongo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-26T15:13:14.000Z","updated_at":"2024-05-02T06:06:59.898Z","dependencies_parsed_at":"2023-01-11T18:49:52.190Z","dependency_job_id":null,"html_url":"https://github.com/gongo/json-reformat","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fjson-reformat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fjson-reformat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fjson-reformat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gongo%2Fjson-reformat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gongo","download_url":"https://codeload.github.com/gongo/json-reformat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239914937,"owners_count":19717760,"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":[],"created_at":"2024-08-05T06:01:56.813Z","updated_at":"2026-03-13T03:30:20.512Z","avatar_url":"https://github.com/gongo.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp","Text Editor Plugins"],"sub_categories":[],"readme":"JSON Reformat\n=============\n\n[![Build Status](https://travis-ci.org/gongo/json-reformat.png)](https://travis-ci.org/gongo/json-reformat)\n![Test](https://github.com/gongo/json-reformat/workflows/Test/badge.svg)\n[![Coverage Status](https://img.shields.io/coveralls/gongo/json-reformat.svg)](https://coveralls.io/r/gongo/json-reformat?branch=master)\n[![melpa badge][melpa-badge]][melpa-link]\n[![melpa stable badge][melpa-stable-badge]][melpa-stable-link]\n\n`json-reformat.el` is reformat tool for [JSON](http://en.wikipedia.org/wiki/JavaScript_Object_Notation).\n\n## Important\n\nFrom **emacs 24.4** , `json-pretty-print` and `json-pretty-print-buffer` (similar specifications as `json-reformat-region`) was bundled.\n\n## Requirements\n\n- Emacs 23 or higher\n\n## Installation\n\nYou can install from [MELPA](http://melpa.milkbox.net/) with package.el\n\n    M-x package-install RET json-reformat\n\n## Usage\n\n```\nM-x json-reformat-region\n```\n\n### Sample 1\n\n![](https://github.com/gongo/json-reformat/raw/master/images/json-reformat_demo.gif)\n\n### Sample 2\n\n![](https://github.com/gongo/json-reformat/raw/master/images/json-reformat-2-before.png)\n\n![](https://github.com/gongo/json-reformat/raw/master/images/json-reformat-2-after.png)\n\n## Configuration\n\n```lisp\njson-reformat:indent-width (integer)\n\n    Change indentation level (default 4)\n\njson-reformat:pretty-string? (boolean)\n\n    Specify whether to decode the string (default nil)\n\n    Example:\n\n    ;; {\"name\":\"foo\\\"bar\",\"nick\":\"foo \\u00e4 bar\",\"description\":\"\u003cpre\u003e\\nbaz\\n\u003c/pre\u003e\",\"home\":\"/home/foobar\"}\n\n    If nil:\n\n    {\n        \"name\": \"foo\\\"bar\",\n        \"nick\": \"foo \\u00e4 bar\",\n        \"description\": \"\u003cpre\u003e\\nbaz\\n\u003c\\/pre\u003e\",\n        \"home\": \"\\/home\\/foobar\"\n    }\n\n    Else t:\n\n    {\n        \"name\": \"foo\\\"bar\",\n        \"nick\": \"foo ä bar\",\n        \"description\": \"\u003cpre\u003e\n    baz\n    \u003c/pre\u003e\",\n        \"home\": \"/home/foobar\"\n    }\n```\n\n## LICENSE\n\nMIT License. see `json-reformat.el`\n\n[melpa-link]: http://melpa.org/#/json-reformat\n[melpa-stable-link]: http://stable.melpa.org/#/json-reformat\n[melpa-badge]: http://melpa.org/packages/json-reformat-badge.svg\n[melpa-stable-badge]: http://stable.melpa.org/packages/json-reformat-badge.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Fjson-reformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgongo%2Fjson-reformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgongo%2Fjson-reformat/lists"}