{"id":17901727,"url":"https://github.com/mogelbrod/vim-jsonpath","last_synced_at":"2025-03-23T13:31:48.839Z","repository":{"id":136534241,"uuid":"139346852","full_name":"mogelbrod/vim-jsonpath","owner":"mogelbrod","description":"Vim plugin that lets you navigate JSON documents using dot.notation.paths","archived":false,"fork":false,"pushed_at":"2020-06-16T13:37:21.000Z","size":94,"stargazers_count":91,"open_issues_count":6,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T20:48:19.960Z","etag":null,"topics":["json","json-parser","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Vim script","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/mogelbrod.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":"2018-07-01T17:07:29.000Z","updated_at":"2025-02-28T19:12:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"c467c9bf-6c8e-41a5-8ba3-9d9ee0b7b8aa","html_url":"https://github.com/mogelbrod/vim-jsonpath","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogelbrod%2Fvim-jsonpath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogelbrod%2Fvim-jsonpath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogelbrod%2Fvim-jsonpath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mogelbrod%2Fvim-jsonpath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mogelbrod","download_url":"https://codeload.github.com/mogelbrod/vim-jsonpath/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245108223,"owners_count":20562006,"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":["json","json-parser","vim","vim-plugin"],"created_at":"2024-10-28T16:03:19.831Z","updated_at":"2025-03-23T13:31:48.822Z","avatar_url":"https://github.com/mogelbrod.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-jsonpath\nA Vim plugin which provides ways of navigating JSON document buffers.\n\n* `:JsonPath`:\n  Echoes the path to the identifier under the cursor.\n* `:JsonPath path.to.prop`:\n  Searches the active buffer for the given path, placing the cursor on it if found.\n\nMore information is available via `:help jsonpath`.\n\n## Quick Start\n\n```vim\n\" Install plugin (in this example using vim-plug)\nPlug 'mogelbrod/vim-jsonpath'\n\n\" Optionally copy path to a named register (* in this case) when calling :JsonPath\nlet g:jsonpath_register = '*'\n\n\" Define mappings for json buffers\nau FileType json noremap \u003cbuffer\u003e \u003csilent\u003e \u003cleader\u003ed :call jsonpath#echo()\u003cCR\u003e\nau FileType json noremap \u003cbuffer\u003e \u003csilent\u003e \u003cleader\u003eg :call jsonpath#goto()\u003cCR\u003e\n```\n\n### Python support in vim\n\nWhile not required it is recommended to use a Vim environment with the\n`+python3` feature enabled, since the plugin provides a python implementation\nthat is much faster than the vimscript variant. You can check the availability\nusing:\n```vim\n:echo has(\"python3\")\n```\n\n## Mappings\n\nMappings are not provided by default but can easily be added to your `.vimrc`.\n\n* If you only want mappings when working with `.json` files:\n  ```vim\n  au FileType json noremap \u003cbuffer\u003e \u003csilent\u003e \u003cleader\u003ed :call jsonpath#echo()\u003cCR\u003e\n  au FileType json noremap \u003cbuffer\u003e \u003csilent\u003e \u003cleader\u003eg :call jsonpath#goto()\u003cCR\u003e\n  ```\n\n* If you prefer global mappings:\n  ```vim\n  noremap \u003cbuffer\u003e \u003csilent\u003e \u003cleader\u003ed :call jsonpath#echo()\u003cCR\u003e\n  noremap \u003cbuffer\u003e \u003csilent\u003e \u003cleader\u003eg :call jsonpath#goto()\u003cCR\u003e\n  ```\n\n## Configuration\n\nSee `:help jsonpath-configuration` for the available configuration options.\n\n## Installation\n\nUse [vim-plug](https://github.com/junegunn/vim-plug),\n[Vundle](https://github.com/VundleVim/Vundle.vim),\n[pathogen.vim](https://github.com/tpope/vim-pathogen)\nor another Vim package manager.\n\n```vim\nPlug 'mogelbrod/vim-jsonpath' \" example using vim-plug\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogelbrod%2Fvim-jsonpath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmogelbrod%2Fvim-jsonpath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmogelbrod%2Fvim-jsonpath/lists"}