Fungsi JSON BigQuery
Fungsi untuk bekerja dengan data JSON. Temukan semua 20 fungsi json di BigQuery lengkap dengan syntax, contoh, dan penjelasan bahasa Indonesia.
20 fungsi json di BigQuery
← Semua fungsi BigQueryJSON_ARRAY
Creates a JSON array from the provided values.
JSONJSON_ARRAY_LENGTH
Returns the number of elements in a JSON array.
INT64JSON_EXTRACT
Mengekstrak nilai dari JSON menggunakan JSONPath dan mengembalikan sebagai JSON.
JSONJSON_EXTRACT_ARRAY
Mengekstrak array dari JSON dan mengembalikan sebagai ARRAY<JSON>.
ARRAY<JSON>JSON_EXTRACT_SCALAR
Mengekstrak nilai scalar dari JSON dan mengembalikan sebagai STRING.
STRINGJSON_EXTRACT_STRING_ARRAY
Mengekstrak array of scalars dari JSON sebagai ARRAY<STRING>.
ARRAY<STRING>JSON_KEYS
Returns an array containing all keys from a JSON object.
ARRAY<STRING>JSON_OBJECT
Creates a JSON object from the provided key-value pairs.
JSONJSON_QUERY
Extracts a JSON value using JSONPath (SQL standard compliant).
JSONJSON_QUERY_ARRAY
Extracts an array from a native JSON type as ARRAY<JSON>.
ARRAY<JSON>JSON_TYPE
Returns the type of a JSON value (object, array, string, number, boolean, or null).
STRINGJSON_VALUE
Extracts a scalar value from JSON as a STRING (SQL standard compliant).
STRINGJSON_VALUE_ARRAY
Extracts an array of scalars from a native JSON value as ARRAY<STRING>.
ARRAY<STRING>LAX_BOOL
Converts a JSON value to BOOL using flexible, lax type conversion.
BOOLLAX_FLOAT64
Converts a JSON value to FLOAT64 using flexible, lax type conversion.
FLOAT64LAX_INT64
Converts a JSON value to INT64 using flexible, lax type conversion.
INT64LAX_STRING
Converts a JSON value to STRING using flexible, lax type conversion.
STRINGPARSE_JSON
Converts a JSON string into the native JSON type.
JSONTO_JSON
Converts a BigQuery value to the native JSON type.
JSONTO_JSON_STRING
Converts a BigQuery value to a JSON string representation.
STRING