---
name: "probe::json_data"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/probe::json_data"
---

# probe::json\_data(3stap)

Fires whenever JSON data is wanted by a reader.

## NAME

probe::json\_data - Fires whenever JSON data is wanted by a reader.

## SYNOPSIS

```
json_data
```

## VALUES

None

## CONTEXT

This probe fires when the JSON data is about to be read. This probe must gather up data and then call the following macros to output the data in JSON format. First, *json\_output\_data\_start*() must be called. That call is followed by one or more of the following (one call for each data item): *json\_output\_string\_value*(), *json\_output\_numeric\_value*(), *json\_output\_array\_string\_value*(), and *json\_output\_array\_numeric\_value*(). Finally *json\_output\_data\_end*() must be called.

## SEE ALSO0

[*tapset::json*(3stap)](/tapset::json/3stap.md)
