[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10358":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":46,"readmeContent":47,"aiSummary":48,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":49,"discoverSource":50},10358,"dasel","TomWright\u002Fdasel","TomWright","Unified querying, transformation, and modification of JSON, TOML, YAML, XML, INI, HCL, KDL and CSV.","https:\u002F\u002Fdaseldocs.tomwright.me",null,"Go",7973,167,33,14,0,2,9,53,6,37.68,"MIT License",false,"master",[26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"cli","config","configuration","data-processing","data-structures","data-wrangling","devops-tools","go","golang","hcl2","json","json-processing","parser","query","selector","toml","update","xml","yaml","yaml-processor","2026-06-12 02:02:20","[![Gitbook](https:\u002F\u002Fbadges.aleen42.com\u002Fsrc\u002Fgitbook_1.svg)](https:\u002F\u002Fdaseldocs.tomwright.me)\n[![Go Report Card](https:\u002F\u002Fgoreportcard.com\u002Fbadge\u002Fgithub.com\u002Ftomwright\u002Fdasel\u002Fv3)](https:\u002F\u002Fgoreportcard.com\u002Freport\u002Fgithub.com\u002Ftomwright\u002Fdasel\u002Fv3)\n[![PkgGoDev](https:\u002F\u002Fpkg.go.dev\u002Fbadge\u002Fgithub.com\u002Ftomwright\u002Fdasel)](https:\u002F\u002Fpkg.go.dev\u002Fgithub.com\u002Ftomwright\u002Fdasel\u002Fv3)\n![Test](https:\u002F\u002Fgithub.com\u002FTomWright\u002Fdasel\u002Fworkflows\u002FTest\u002Fbadge.svg)\n![Build](https:\u002F\u002Fgithub.com\u002FTomWright\u002Fdasel\u002Fworkflows\u002FBuild\u002Fbadge.svg)\n[![codecov](https:\u002F\u002Fcodecov.io\u002Fgh\u002FTomWright\u002Fdasel\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002FTomWright\u002Fdasel)\n[![Mentioned in Awesome Go](https:\u002F\u002Fawesome.re\u002Fmentioned-badge.svg)](https:\u002F\u002Fgithub.com\u002Favelino\u002Fawesome-go)\n![GitHub Downloads](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FTomWright\u002Fdasel\u002Ftotal)\n![Homebrew Formula Downloads](https:\u002F\u002Fimg.shields.io\u002Fhomebrew\u002Finstalls\u002Fdy\u002Fdasel?label=brew%20installs)\n![GitHub License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FTomWright\u002Fdasel)\n[![GitHub tag (latest by date)](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Ftag\u002FTomWright\u002Fdasel?label=latest%20release)](https:\u002F\u002Fgithub.com\u002FTomWright\u002Fdasel\u002Freleases\u002Flatest)\n[![Homebrew tag (latest by date)](https:\u002F\u002Fimg.shields.io\u002Fhomebrew\u002Fv\u002Fdasel)](https:\u002F\u002Fformulae.brew.sh\u002Fformula\u002Fdasel)\n\n\u003Cdiv align=\"center\">\n    \u003Cimg src=\".\u002Fdaselgopher.png\" alt=\"Dasel mascot\" width=\"250\"\u002F>\n\u003C\u002Fdiv>\n\n# Dasel\n\nDasel (short for **Data-Select**) is a command-line tool and library for querying, modifying, and transforming data structures such as JSON, YAML, TOML, XML, and CSV.\n\nIt provides a consistent, powerful syntax to traverse and update data — making it useful for developers, DevOps, and data wrangling tasks.\n\n---\n\n## Features\n\n* **Multi-format support**: JSON, YAML, TOML, XML, CSV, HCL, INI.\n* **Unified query syntax**: Access data in any format with the same selectors.\n* **Query & search**: Extract values, lists, or structures with intuitive syntax.\n* **Modify in place**: Update, insert, or delete values directly in structured files.\n* **Convert between formats**: Seamlessly transform data from JSON → YAML, TOML → JSON, etc.\n* **Script-friendly**: Simple CLI integration for shell scripts and pipelines.\n* **Library support**: Import and use in Go projects.\n\n---\n\n## Installation\n\n### Homebrew (macOS\u002FLinux)\n\n```sh\nbrew install dasel\n```\n\n### Go Install\n\n```sh\ngo install github.com\u002Ftomwright\u002Fdasel\u002Fv3\u002Fcmd\u002Fdasel@master\n```\n\n### Prebuilt Binaries\n\nPrebuilt binaries are available on the [Releases](https:\u002F\u002Fgithub.com\u002FTomWright\u002Fdasel\u002Freleases) page for Linux, macOS, and Windows.\n\n### None of the above?\n\nSee the [installation docs](https:\u002F\u002Fdaseldocs.tomwright.me\u002Fgetting-started\u002Finstallation) for more options.\n\n---\n\n## Shell Completion\n\nDasel supports tab-completion for Bash, Zsh, Fish, and PowerShell. Generate and load the completion script for your shell:\n\n```sh\n# Bash\nsource \u003C(dasel completion bash)\n\n# Zsh\nsource \u003C(dasel completion zsh)\n\n# Fish\ndasel completion fish | source\n\n# PowerShell\ndasel completion powershell | Out-String | Invoke-Expression\n```\n\nSee the [shell completion docs](https:\u002F\u002Fdaseldocs.tomwright.me\u002Fgetting-started\u002Fshell-completion) for permanent installation instructions.\n\n## Man Page\n\nGenerate and view the man page:\n\n```sh\ndasel man | man -l -\n```\n\n---\n\n## Basic Usage\n\n### Selecting Values\n\nBy default, Dasel evaluates the final selector and prints the result.\n\n```sh\necho '{\"foo\": {\"bar\": \"baz\"}}' | dasel -i json 'foo.bar'\n# Output: \"baz\"\n```\n\n### Modifying Values\n\nUpdate values inline:\n\n```sh\necho '{\"foo\": {\"bar\": \"baz\"}}' | dasel -i json 'foo.bar = \"bong\"'\n# Output: \"bong\"\n```\n\nUse `--root` to output the full document after modification:\n\n```sh\necho '{\"foo\": {\"bar\": \"baz\"}}' | dasel -i json --root 'foo.bar = \"bong\"'\n# Output:\n{\n  \"foo\": {\n    \"bar\": \"bong\"\n  }\n}\n```\n\nUpdate values based on previous value:\n\n```sh\necho '[1,2,3,4,5]' | dasel -i json --root 'each($this = $this*2)'\n# Output:\n[\n    2,\n    4,\n    6,\n    8,\n    10\n]\n```\n\n### Format Conversion\n\n```sh\ncat data.json | dasel -i json -o yaml\n```\n\n### Recursive Descent (`..`)\n\nSearches all nested objects and arrays for a matching key or index.\n\n```sh\necho '{\"foo\": {\"bar\": \"baz\"}}' | dasel -i json '..bar'\n# Output:\n[\n    \"baz\"\n]\n\n```\n\n### Search (`search`)\n\nFinds all values matching a condition anywhere in the structure.\n\n```sh\necho '{\"foo\": {\"bar\": \"baz\"}}' | dasel -i json 'search(bar == \"baz\")'\n# Output:\n[\n    {\n        \"bar\": \"baz\"\n    }\n]\n\n```\n\n---\n\n## Documentation\n\nFull documentation is available at [daseldocs.tomwright.me](https:\u002F\u002Fdaseldocs.tomwright.me).\n\n---\n\n## Contributing\n\nContributions are welcome! Please see the [CONTRIBUTING.md](.\u002FCONTRIBUTING.md) for details.\n\n---\n\n## License\n\nMIT License. See [LICENSE](.\u002FLICENSE) for details.\n\n## Stargazers over time\n\n[![Stargazers over time](https:\u002F\u002Fstarchart.cc\u002FTomWright\u002Fdasel.svg)](https:\u002F\u002Fstarchart.cc\u002FTomWright\u002Fdasel)\n","Dasel 是一个命令行工具和库，用于查询、修改和转换 JSON、YAML、TOML、XML 和 CSV 等多种格式的数据结构。其核心功能包括统一的查询语法、多格式支持（如 JSON、YAML、TOML、XML、CSV、HCL 和 INI）、数据提取与更新、以及格式间的无缝转换。Dasel 采用 Go 语言编写，具备强大的数据处理能力，适用于开发人员、DevOps 工程师以及需要进行数据处理的各种场景。通过简单的 CLI 集成，用户可以轻松地在 shell 脚本和流水线中使用 Dasel，提高工作效率。此外，它还提供了 Go 语言的库支持，方便在 Go 项目中导入和使用。","2026-06-11 03:27:59","top_topic"]