---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/media/type-aliases/MediaArgJson.md'
description: >-
  A structured (JSON-shaped) arg value. In the pipe surface these are written as
  quoted JSON (`updates='[{"address":"B2","value":3}]'`); in ops they are plain
  JSON. `null` is legal only inside structured values (cell values), never as a
  top-level scalar.
---

# Type Alias: MediaArgJson

```ts
type MediaArgJson =
  | string
  | number
  | boolean
  | null
  | MediaArgJson[]
  | {
      [key: string]: MediaArgJson;
    };
```

Defined in: [src/batteries/media/plan.ts:51](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/media/plan.ts#L51)

A structured (JSON-shaped) arg value. In the pipe surface these are written as quoted JSON
(`updates='[{"address":"B2","value":3}]'`); in ops they are plain JSON. `null` is legal only
inside structured values (cell values), never as a top-level scalar.
