Repository navigation
Reference Sub actions Json
Kristopher Barrantes edited this page Nov 5, 2026
·
2 revisions
Also on the Cuebot Docs site.
Counts the items in a list inside JSON, a common way web services send data. Mostly used after a "Call a web address" step. Beginners rarely need it.
| Setting | What to put in |
|---|---|
| Read from variable | The variable that holds the data, like httpResponse. Empty = use the text in the JSON box instead. Starts as: httpResponse. |
| JSON | The JSON text itself, like [1,2,3]. Ignored when the first box (Read from variable) is filled in. |
| Path | Where the list is inside the data. $ = the whole thing. $.data = the list called data. Starts as: $. |
| Save in variable | The variable that receives the count, without % signs. The default jsonCount means you use %jsonCount%. Starts as: jsonCount. |
Variables it adds
| Variable | What it holds |
|---|---|
%jsonCount% |
How many items the list has (the variable name can be changed in the settings) |
%jsonFound% |
True if the place in the data was found |
Type id: core.jsonCount
Picks one value out of JSON, a common way web services send data, and saves it in a variable. Mostly used after a "Call a web address" step. Beginners rarely need it.
| Setting | What to put in |
|---|---|
| Read from variable | The variable that holds the data, like httpResponse. Empty = use the text in the JSON box instead. Starts as: httpResponse. |
| JSON | The JSON text itself, like {"name":"Kris"}. Ignored when the first box (Read from variable) is filled in. |
| Path | Where the value is inside the data. $. |
| Save in variable | The variable that receives the value, without % signs. The default jsonValue means you use %jsonValue%. Starts as: jsonValue. |
Variables it adds
| Variable | What it holds |
|---|---|
%jsonValue% |
The value that was found (the variable name can be changed in the settings) |
%jsonFound% |
True if the place in the data was found |
Type id: core.jsonGetValue
Cuebot by Tech Daddy Digital · MIT license · Privacy
Cuebot Docs (the same pages, nicer to read)
- Home
- Start here
-
Guides
- Chat commands
- Overlays and alerts
- Writing your own overlay widgets
- Text-to-speech
- Music and now playing
- Points, store and giveaways
- Subathons and goals
- Stream apps and devices
- VTuber apps
- Stream Deck
- The phone app
- Donations and integrations
- Discord bot
- The setup assistant and AI tools
- The assistant on your own computer
- Moving from Streamer.bot
- Cuebot's servers
- Writing code (C# and Python)
- Python in detail
- Using your own code editor
- Controlling Cuebot from other programs
- Backups and your data
- Linux
- Command-line options
- Troubleshooting
- What's experimental
- Reference
