This command obtains the DDL of a single database object and returns the DDL as a string.
DISPLAY [IN JSON] {TABLE | VIEW | INDEX | DATABASE | SCHEMA | USER | ROLE | INSTALLFILE} <database object name>;
This is an example:
display in json table myschema.mytable;