{"id":16019447,"url":"https://github.com/ldd/vscode-jq","last_synced_at":"2025-03-17T16:30:41.174Z","repository":{"id":39263781,"uuid":"230463134","full_name":"ldd/vscode-jq","owner":"ldd","description":"jq LiveView Extension for VS Code","archived":false,"fork":false,"pushed_at":"2023-01-01T10:00:39.000Z","size":1528,"stargazers_count":17,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T12:18:00.064Z","etag":null,"topics":["jq","typescript","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ldd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-27T15:00:39.000Z","updated_at":"2024-07-27T07:55:33.000Z","dependencies_parsed_at":"2023-01-31T21:30:31.570Z","dependency_job_id":null,"html_url":"https://github.com/ldd/vscode-jq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Fvscode-jq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Fvscode-jq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Fvscode-jq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ldd%2Fvscode-jq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ldd","download_url":"https://codeload.github.com/ldd/vscode-jq/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864823,"owners_count":20360360,"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":["jq","typescript","vscode-extension"],"created_at":"2024-10-08T17:04:23.568Z","updated_at":"2025-03-17T16:30:40.799Z","avatar_url":"https://github.com/ldd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jq Live View (JSON selector)\n\nUse jq to process a `.json` file, updating the preview as you\nsave your file.\n\n![update-file-demo](update-file.gif)\n\nUse the `jq` command to [select from a `.json` file](https://stedolan.github.io/jq/manual/)\n\n![select-command-demo](select-command.gif)\n\nThis extension will keep a history of the commands that you run\n\n![command-history-demo](command-history-demo.gif)\n\n# Configuration\n\nThis extension can be configured in User Settings or Workspace settings.\n\n| **Setting**     | **Type**  | **Description**                                                                      |\n| --------------- | --------- | ------------------------------------------------------------------------------------ |\n| `customCommand` | `string`  | See [_Running jq with command line options_](##Running-jq-with-command-line-options) |\n| `strictMode`    | `boolean` | See [_Strict Mode_](##strict-mode)                                                   |\n\n## Running jq with command line options\n\nFor your convenience, `customCommand` replaces the following variables:\n\n`$$user_filter` is replaced with the filter you typed\n\n`$$file_path` is replaced with the current file path\n\nAn example, using modules:\n\n```json\n{\n  \"jq.customCommand\": \"jq -L /my/modules/path 'include \\\"items\\\"; $$user_filter' $$file_path\"\n}\n```\n\n## Strict Mode\n\nBy default, this extension only works with files with a `json` file identifier. Turn this off if you want to use it with any file type.\n\nAlternatively, you can modify VSCode's `files.associations` in your User Settings:\n\n```json\n\"files.associations\": {\n    \"*.log.a.txt\": \"json\"\n},\n```\n\nStrict Mode may, in the future, include other checks that you will always be able to turn off.\n\n## Version History\n\n- `v0.4.2`\n\n  - Fix #44 (Allow paths with spaces)\n\n- `v0.4.1`\n\n  - Fix #18 (file save issue)\n\n- `v0.4.0`\n\n  - Add history of commands on a per-open-file basis\n\n- `v0.3.0`\n\n  - Add `strictMode` configuration option\n    (do not check for `json` language identifier)\n  - Fix escaping input box (no longer opens a live view)\n\n- `v0.2.0`\n\n  - Deprecate `jqArgs`,`jqPrefix`, `jqPostfix` and replaces its functionality with `customCommand`\n\n- `v0.1.0`\n\n  - Add configuration options `jqArgs`,`jqPrefix`, `jqPostfix` to run jq qith command line options\n\n- `v0.0.1`\n  - Initial Public Release\n\n## Acknowledgments\n\n- [jq](https://stedolan.github.io/jq/)\n- [Online JSON generator](https://www.json-generator.com/#) - for the previews\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldd%2Fvscode-jq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fldd%2Fvscode-jq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fldd%2Fvscode-jq/lists"}