Description of JSON_SERIALIZE

JSON_SERIALIZE "(" ( expr ) [ JSON_returning_clause ] [ PRETTY ]
[ ASCII ] [ TRUNCATE ] [ { NULL | ERROR | EMPTY { ARRAY | OBJECT} } ON ERROR ")"