TO_INT_ARRAY function

TO_INT_ARRAY function

Function Name Description Usage Input parameter Return value
TO_INT_ARRAY Converts a JSON array to an integer array. TO_INT_ARRAY() N/A An integer array.

Supported data type

The TO_INT_ARRAY function supports the following data type:

  • JSON

Example: Convert JSON array to an integer array

Sample data: $var1$ = [3, 8, 9]

Usage: $var1$.TO_INT_ARRAY()

Convert var1 to an integer array.

Output: {3, 8, 9}

Recommendation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.