JSON_ARRAY_GET
Overview
Returns the element at the specified index from a JSON array as a STRING (including JSON quotes). Returns NULL if the index is out of bounds.
Syntax
Parameters
<json_array>: JSON type, must be a JSON array. Strings must first be converted usingPARSE_JSON.<index>: BIGINT type, a non-negative integer index starting from 0.
Examples
Related Documentation
- JSON_EXTRACT — general extraction function supporting JSONPath
- GET_JSON_OBJECT
- PARSE_JSON
