21.48 WRITE Procedure Signature 15
This procedure writes parts of a parsed APEX_JSON.t_values
table.
Syntax
APEX_JSON.WRITE (
p_values IN t_values,
p_path IN VARCHAR2 DEFAULT '.',
p0 IN VARCHAR2 DEFAULT NULL,
p1 IN VARCHAR2 DEFAULT NULL,
p2 IN VARCHAR2 DEFAULT NULL,
p3 IN VARCHAR2 DEFAULT NULL,
p4 IN VARCHAR2 DEFAULT NULL );
Parameters
Table 21-57 WRITE Procedure Parameters
Parameter | Description |
---|---|
|
The parsed JSON members. |
|
The index into |
|
Each %N in |
Example
This example parses a JSON string and writes parts of it.
DECLARE
j apex_json.t_values;
BEGIN
apex_json.parse(j, '{ "foo": 3, "bar": { "x": 1, "y": 2 }}');
apex_json.write(j,'bar');
END;
Parent topic: APEX_JSON