For the complete documentation index, see llms.txt. This page is also available as Markdown.

Type

Description

The type selector can be used to return the type of the current node.

Usage

.[@]

Return types

The type selector can return the following types:

  • array

  • map

  • string

  • int

  • float

  • bool

Example

$ echo '{"numbers": [5, 2, 3, 1, 4]}' | dasel -r json '.[@]'
"map"

Last updated