Repository navigation
MySQL_GetJSONString
imshooter edited this page Oct 24, 2026
·
1 revision
A value of a JSON cell as a string. An object or an array is written as JSON.
native bool:MySQL_GetJSONString(row, const field[], const key[], value[], size = sizeof (value));| Parameter | Description | Default |
|---|---|---|
row |
The row, from 0. |
|
const field[] |
Name of the field. | |
const key[] |
Member of the top object or a JSON Pointer. | |
value[] |
Array for the text. | |
size |
Size of the array. | sizeof (value) |
-
truewhen the text was written. -
falsewhen the value does not exist or is null.
A string gives its text. Any other value gives its JSON, so an object or an array can be read whole. With the latin1 character set, the text is converted from UTF-8 to the code page of the game, escaped letters such as \u00e7 included.
- MySQL_GetJSONKey: The name of a member of an object of a JSON cell, by its position.
- MySQL_GetJSONType: The type of a value of a JSON cell.
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