> For the complete documentation index, see [llms.txt](https://docs.rootcause.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rootcause.ai/more-details/applications/application-modules/pick.md).

# Pick

> Read one value out of a JSON by path.

Reads one value out of a JSON object by `path` and types it as `kind`. `default` is what a missing path yields, so a partial response does not fail the run.

## At a glance

|                          |                              |
| ------------------------ | ---------------------------- |
| Module type              | `Pick`                       |
| Category                 | Primitives · Scalar and json |
| Default tier             | `reactive`                   |
| Runs on                  | `reactive`, `durable`        |
| Starts a flow            | no                           |
| Holds a body             | no                           |
| Keeps state between runs | no                           |
| Available in             | every application type       |

## Parameters

### `path`

`string` · required · defaults to `""`

The dotted path to read from the object.

### `kind`

`"string" | "number" | "boolean" | "datetime"` · required · defaults to `"string"`

The type the value is read as.

### `default`

`string | number | boolean | null` · required · defaults to `null`

What a missing path yields, so a partial response does not fail the run.

## Inputs

| Port   | Kind    | Required | Description                                                                                                                           |
| ------ | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `on`   | `event` | no       | Implicit on every module that does not itself start a flow: wire an event here to make this module the start of what that event runs. |
| `json` | `json`  | yes      | The object to read from.                                                                                                              |

## Outputs

| Port    | Kind     | Connects to                        | Description                        |
| ------- | -------- | ---------------------------------- | ---------------------------------- |
| `value` | `scalar` | `scalar`, `json`, `text`, `signal` | The value at `path`, or `default`. |

***

[← All application modules](/more-details/applications/application-modules.md)
