# Dasel

## v1

- [Introduction](https://daseldocs.tomwright.me/v1/readme.md)
- [Installation](https://daseldocs.tomwright.me/v1/installation.md)
- [Update](https://daseldocs.tomwright.me/v1/installation/update.md)
- [Use as a go package](https://daseldocs.tomwright.me/v1/use-as-a-go-package.md)
- [Select](https://daseldocs.tomwright.me/v1/usage/select.md)
- [Put](https://daseldocs.tomwright.me/v1/usage/put.md)
- [Put object](https://daseldocs.tomwright.me/v1/usage/put-object.md)
- [Put document](https://daseldocs.tomwright.me/v1/usage/put-document.md)
- [Delete](https://daseldocs.tomwright.me/v1/usage/delete.md)
- [Validate](https://daseldocs.tomwright.me/v1/usage/validate.md)
- [Flags](https://daseldocs.tomwright.me/v1/usage/flags.md)
- [Escape HTML](https://daseldocs.tomwright.me/v1/usage/flags/escape-html.md)
- [Format](https://daseldocs.tomwright.me/v1/usage/flags/format.md)
- [Multiple](https://daseldocs.tomwright.me/v1/usage/flags/multiple.md)
- [Null](https://daseldocs.tomwright.me/v1/usage/flags/null.md)
- [Merge Input Documents](https://daseldocs.tomwright.me/v1/usage/flags/merge-input-documents.md)
- [Supported file types](https://daseldocs.tomwright.me/v1/usage/supported-file-types.md)
- [Introduction](https://daseldocs.tomwright.me/v1/selectors/introduction.md)
- [Property](https://daseldocs.tomwright.me/v1/selectors/property.md)
- [Keys and indexes](https://daseldocs.tomwright.me/v1/selectors/keys-and-indexes.md)
- [Index](https://daseldocs.tomwright.me/v1/selectors/index.md)
- [Next Available Index](https://daseldocs.tomwright.me/v1/selectors/next-available-index.md)
- [All indexes](https://daseldocs.tomwright.me/v1/selectors/all-indexes.md)
- [Dynamic](https://daseldocs.tomwright.me/v1/selectors/dynamic.md)
- [Search](https://daseldocs.tomwright.me/v1/selectors/search.md)
- [Search Optional](https://daseldocs.tomwright.me/v1/selectors/search-1.md)
- [Length](https://daseldocs.tomwright.me/v1/selectors/length.md)
- [Type](https://daseldocs.tomwright.me/v1/selectors/type.md)
- [File formatting and ordering](https://daseldocs.tomwright.me/v1/notes/file-formatting-and-ordering.md)
- [Memory usage](https://daseldocs.tomwright.me/v1/notes/memory-usage.md)
- [Converting between formats](https://daseldocs.tomwright.me/v1/notes/converting-between-formats.md)
- [JQ to Dasel](https://daseldocs.tomwright.me/v1/examples/jq-to-dasel.md)
- [YQ to Dasel](https://daseldocs.tomwright.me/v1/examples/yq-to-dasel.md)
- [XML](https://daseldocs.tomwright.me/v1/examples/xml.md)
- [Filter JSON API results](https://daseldocs.tomwright.me/v1/examples/filter-json-api-results.md)

## v2

- [Introduction](https://daseldocs.tomwright.me/v2/readme.md)
- [Supported file formats](https://daseldocs.tomwright.me/v2/supported-file-formats.md)
- [Memory usage](https://daseldocs.tomwright.me/v2/memory-usage.md)
- [Installation](https://daseldocs.tomwright.me/v2/installation.md)
- [Select](https://daseldocs.tomwright.me/v2/commands/select.md)
- [Put](https://daseldocs.tomwright.me/v2/commands/put.md)
- [Delete](https://daseldocs.tomwright.me/v2/commands/delete.md)
- [Selector Overview](https://daseldocs.tomwright.me/v2/functions/selector-overview.md)
- [All](https://daseldocs.tomwright.me/v2/functions/all.md)
- [And](https://daseldocs.tomwright.me/v2/functions/and.md)
- [Append](https://daseldocs.tomwright.me/v2/functions/append.md)
- [Count](https://daseldocs.tomwright.me/v2/functions/count.md)
- [Equal](https://daseldocs.tomwright.me/v2/functions/equal.md)
- [Filter](https://daseldocs.tomwright.me/v2/functions/filter.md)
- [FilterOr](https://daseldocs.tomwright.me/v2/functions/filteror.md)
- [First](https://daseldocs.tomwright.me/v2/functions/first.md)
- [Index](https://daseldocs.tomwright.me/v2/functions/index.md)
- [Join](https://daseldocs.tomwright.me/v2/functions/join.md)
- [Key](https://daseldocs.tomwright.me/v2/functions/key.md)
- [Keys](https://daseldocs.tomwright.me/v2/functions/keys.md)
- [Last](https://daseldocs.tomwright.me/v2/functions/last.md)
- [Len](https://daseldocs.tomwright.me/v2/functions/len.md)
- [LessThan](https://daseldocs.tomwright.me/v2/functions/lessthan.md)
- [MapOf](https://daseldocs.tomwright.me/v2/functions/mapof.md)
- [Merge](https://daseldocs.tomwright.me/v2/functions/merge.md)
- [MoreThan](https://daseldocs.tomwright.me/v2/functions/morethan.md)
- [Not](https://daseldocs.tomwright.me/v2/functions/not.md)
- [Or](https://daseldocs.tomwright.me/v2/functions/or.md)
- [OrDefault](https://daseldocs.tomwright.me/v2/functions/ordefault.md)
- [Parent](https://daseldocs.tomwright.me/v2/functions/parent.md)
- [Property](https://daseldocs.tomwright.me/v2/functions/property.md)
- [String](https://daseldocs.tomwright.me/v2/functions/string.md)
- [Null](https://daseldocs.tomwright.me/v2/functions/null.md)
- [This](https://daseldocs.tomwright.me/v2/functions/this.md)
- [Type](https://daseldocs.tomwright.me/v2/functions/type.md)
- [Using dasel as a go package](https://daseldocs.tomwright.me/v2/examples/using-dasel-as-a-go-package.md)
- [Basics](https://daseldocs.tomwright.me/v2/examples/basics.md)
- [Change file format](https://daseldocs.tomwright.me/v2/examples/change-file-format.md)
- [Filtering objects based on present/missing key](https://daseldocs.tomwright.me/v2/examples/filtering-objects-based-on-present-missing-key.md)

## v3

- [Introduction](https://daseldocs.tomwright.me/getting-started/readme.md)
- [Installation](https://daseldocs.tomwright.me/getting-started/installation.md)
- [Shell Completion](https://daseldocs.tomwright.me/getting-started/shell-completion.md)
- [Man Page](https://daseldocs.tomwright.me/getting-started/man-page.md)
- [Usage from Go](https://daseldocs.tomwright.me/getting-started/usage-from-go.md)
- [Query syntax](https://daseldocs.tomwright.me/syntax/query-syntax.md)
- [Whitespace](https://daseldocs.tomwright.me/syntax/whitespace.md)
- [Comments](https://daseldocs.tomwright.me/syntax/comments.md)
- [Types/Literals](https://daseldocs.tomwright.me/syntax/types-literals.md)
- [Recursive Descent](https://daseldocs.tomwright.me/syntax/recursive-descent.md)
- [Regex](https://daseldocs.tomwright.me/syntax/regex.md)
- [String concatenation](https://daseldocs.tomwright.me/syntax/string-concatenation.md)
- [Arrays/slices](https://daseldocs.tomwright.me/syntax/arrays-slices.md)
- [Objects/maps](https://daseldocs.tomwright.me/syntax/objects-maps.md)
- [Operators](https://daseldocs.tomwright.me/syntax/operators.md)
- [Conditionals](https://daseldocs.tomwright.me/syntax/conditionals.md)
- [Spread](https://daseldocs.tomwright.me/syntax/spread.md)
- [Coalesce](https://daseldocs.tomwright.me/syntax/coalesce.md)
- [Branches](https://daseldocs.tomwright.me/syntax/branches.md)
- [Read/Write formats](https://daseldocs.tomwright.me/input-output/read-write-formats.md)
- [Stdin](https://daseldocs.tomwright.me/input-output/stdin.md)
- [Stdout](https://daseldocs.tomwright.me/input-output/stdout.md)
- [Modifying data](https://daseldocs.tomwright.me/input-output/modifying-data.md)
- [Variables](https://daseldocs.tomwright.me/input-output/variables.md)
- [Read/Writer flags](https://daseldocs.tomwright.me/input-output/read-writer-flags.md)
- [KDL format](https://daseldocs.tomwright.me/input-output/kdl.md)
- [Editing files in place](https://daseldocs.tomwright.me/input-output/editing-files-in-place.md)
- [abs](https://daseldocs.tomwright.me/functions/abs.md)
- [add](https://daseldocs.tomwright.me/functions/add.md)
- [all](https://daseldocs.tomwright.me/functions/all.md)
- [any](https://daseldocs.tomwright.me/functions/any.md)
- [avg](https://daseldocs.tomwright.me/functions/avg.md)
- [base64d](https://daseldocs.tomwright.me/functions/base64d.md)
- [base64e](https://daseldocs.tomwright.me/functions/base64e.md)
- [ceil](https://daseldocs.tomwright.me/functions/ceil.md)
- [contains](https://daseldocs.tomwright.me/functions/contains.md)
- [count](https://daseldocs.tomwright.me/functions/count.md)
- [each](https://daseldocs.tomwright.me/functions/each.md)
- [endsWith](https://daseldocs.tomwright.me/functions/endswith.md)
- [entries](https://daseldocs.tomwright.me/functions/entries.md)
- [filter](https://daseldocs.tomwright.me/functions/filter.md)
- [first](https://daseldocs.tomwright.me/functions/first.md)
- [flatten](https://daseldocs.tomwright.me/functions/flatten.md)
- [floor](https://daseldocs.tomwright.me/functions/floor.md)
- [fromEntries](https://daseldocs.tomwright.me/functions/fromentries.md)
- [get](https://daseldocs.tomwright.me/functions/get.md)
- [groupBy](https://daseldocs.tomwright.me/functions/groupby.md)
- [has](https://daseldocs.tomwright.me/functions/has.md)
- [ignore](https://daseldocs.tomwright.me/functions/ignore.md)
- [indexOf](https://daseldocs.tomwright.me/functions/indexof.md)
- [join](https://daseldocs.tomwright.me/functions/join.md)
- [keys](https://daseldocs.tomwright.me/functions/keys.md)
- [last](https://daseldocs.tomwright.me/functions/last.md)
- [len](https://daseldocs.tomwright.me/functions/len.md)
- [map](https://daseldocs.tomwright.me/functions/map.md)
- [mapValues](https://daseldocs.tomwright.me/functions/mapvalues.md)
- [max](https://daseldocs.tomwright.me/functions/max.md)
- [merge](https://daseldocs.tomwright.me/functions/merge.md)
- [min](https://daseldocs.tomwright.me/functions/min.md)
- [parse](https://daseldocs.tomwright.me/functions/parse.md)
- [readFile](https://daseldocs.tomwright.me/functions/readfile.md)
- [reduce](https://daseldocs.tomwright.me/functions/reduce.md)
- [replace](https://daseldocs.tomwright.me/functions/replace.md)
- [reverse](https://daseldocs.tomwright.me/functions/reverse.md)
- [round](https://daseldocs.tomwright.me/functions/round.md)
- [search](https://daseldocs.tomwright.me/functions/search.md)
- [sortBy](https://daseldocs.tomwright.me/functions/sortby.md)
- [split](https://daseldocs.tomwright.me/functions/split.md)
- [startsWith](https://daseldocs.tomwright.me/functions/startswith.md)
- [stringify](https://daseldocs.tomwright.me/functions/stringify.md)
- [sum](https://daseldocs.tomwright.me/functions/sum.md)
- [toBool](https://daseldocs.tomwright.me/functions/tobool.md)
- [toFloat](https://daseldocs.tomwright.me/functions/tofloat.md)
- [toInt](https://daseldocs.tomwright.me/functions/toint.md)
- [toLower](https://daseldocs.tomwright.me/functions/tolower.md)
- [toString](https://daseldocs.tomwright.me/functions/tostring.md)
- [toUpper](https://daseldocs.tomwright.me/functions/toupper.md)
- [trim](https://daseldocs.tomwright.me/functions/trim.md)
- [trimPrefix](https://daseldocs.tomwright.me/functions/trimprefix.md)
- [trimSuffix](https://daseldocs.tomwright.me/functions/trimsuffix.md)
- [typeOf](https://daseldocs.tomwright.me/functions/typeof.md)
- [unique](https://daseldocs.tomwright.me/functions/unique.md)
- [values](https://daseldocs.tomwright.me/functions/values.md)
- [Recipes](https://daseldocs.tomwright.me/cookbook/cookbook.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on a page URL with the `ask` query parameter:
```
GET https://daseldocs.tomwright.me/getting-started/readme.md?ask=<question>
```
The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
