Open this example in the interactive librarySource codeSELECT json_array_length('[1,2,3]') AS n; Sample output[ { "n": 3 } ]