31.30 STRINGIFY Function Signature 2
This function converts a number to an escaped JSON value.
Syntax
APEX_JSON.STRINGIFY (
p_value IN NUMBER )
RETURN VARCHAR2;Parameters
Table 31-39 STRINGIFY Function Parameters
| Parameter | Description |
|---|---|
|
|
The number to be converted. |
Returns
Table 31-40 STRINGIFY Function Returns
| Return | Description |
|---|---|
|
|
The converted and escaped JSON value. |
Example
This example is a query that returns a JSON number value.
select apex_json.stringify(-1/10) from dualParent topic: APEX_JSON