text: -- file:json.sql ln:80 expect:true
  SELECT row_to_json(q)
  FROM (SELECT $$a$$ || x AS b,
           y AS c,
           ARRAY[ROW(x.*,ARRAY[1,2,3]),
                 ROW(y.*,ARRAY[4,5,6])] AS z
        FROM generate_series(1,2) x,
             generate_series(4,5) y) q
  