Repository navigation
MySQL_GetJSONType
imshooter edited this page Oct 24, 2026
·
1 revision
The type of a value of a JSON cell.
native MYSQL_JSON:MySQL_GetJSONType(row, const field[], const key[] = "");| Parameter | Description | Default |
|---|---|---|
row |
The row, from 0. |
|
const field[] |
Name of the field. | |
const key[] |
Member of the top object, a JSON Pointer, or empty for the whole value. | "" |
- The type.
-
MYSQL_JSON_NONEwhen the value does not exist or the cell is not JSON.
The types are listed in JSON types. A cell that is not JSON, and a key the cell does not have, are MYSQL_JSON_NONE. See JSON cells for keys and pointers.
- MySQL_GetJSONCount: How many members an object of a JSON cell has, or how many elements an array has.
- MySQL_GetJSONString: A value of a JSON cell as a string. An object or an array is written as JSON.
MySQL 0.2.0 · Repository · Releases · MIT License
Guides
- Installation
- Configuration
- Queries
- Results
- JSON cells
- Prepared statements
- Passwords
- Errors
- TLS
- Coming from R41
- Performance
Reference
Functions