length array jsonn postgresql code example Example: getthe array length of jsonb object postgres SELECT jsonb_array_length('["question","solved"]') AS length;