31.31 STRINGIFY Function Signature 3
This function converts a date to an escaped JSON value.
Syntax
APEX_JSON.STRINGIFY (
p_value IN DATE,
p_format IN VARCHAR2 DEFAULT c_date_iso8601 )
RETURN VARCHAR2;Parameters
Table 31-41 STRINGIFY Function Parameters
| Parameter | Description |
|---|---|
|
|
The date value to be converted. |
Returns
Table 31-42 STRINGIFY Function Returns
| Return | Description |
|---|---|
|
|
The converted and escaped JSON value. |
Example
This example is a query that returns a JSON varchar2 value that is suitable to be converted to dates.
select apex_json.stringify(sysdate) from dualParent topic: APEX_JSON