# LibTmux.read_where_json

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/ext/LibTmuxJSONExt.jl#L58
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-read_where_json/

```
read_where_json(text::AbstractString; limits, max_input_bytes)
```

Read criteria JSON after `using JSON` loads the optional codec extension. Input byte, nesting and token bounds are checked before JSON materialization; duplicate keys and invalid JSON raise `WireCriteriaError`.

```julia
read_where_json(text; limits=WhereLimits(), max_input_bytes=8388608)
```

## Methods

Available when `LibTmuxJSONExt` is loaded.

## Parameters

- `text` (`AbstractString`)
- `limits` (`WhereLimits`)
  Default: `WhereLimits()`.
- `max_input_bytes` (`Int`)
  Default: `8 * 1024 ^ 2`.
