PL/JSON

Index

A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
A
APPEND   (PLJSON_LIST)

APPEND   (PLJSON_LIST)

APPEND   (PLJSON_LIST)

APPEND   (PLJSON_LIST)

APPEND   (PLJSON_LIST)

APPEND   (PLJSON_LIST)

B
BASE64   (PLJSON_EXT)

BASE64   (PLJSON_EXT)

BLOB2CLOB   (PLJSON_EXT)

C
CHECK_DUPLICATE   (PLJSON)

CHECK_FOR_DUPLICATE   (PLJSON)
Private variable for internal processing.

COLUMN_NAMES   (PLJSON_TABLE_IMPL)

COLUMN_NESTED_INDEX   (PLJSON_TABLE_IMPL)

COLUMN_PATH_PART   (PLJSON_TABLE_IMPL)

COLUMN_PATHS   (PLJSON_TABLE_IMPL)

COLUMN_VAL   (PLJSON_TABLE_IMPL)

COUNT   (PLJSON)

Return the number values in the object.

COUNT   (PLJSON_LIST)

D
DATA_TAB   (PLJSON_TABLE_IMPL)

DECODE   (PLJSON_EXT)

DECODEBASE64CLOB2BLOB   (PLJSON_EXT)

E
EXIST   (PLJSON)

Determine if a given value exists within the object.

EXTENDED_STR   (PLJSON_VALUE)
Private variable for internal processing.

ENCODE   (PLJSON_EXT)

ENCODEBASE64BLOB2CLOB   (PLJSON_EXT)

F
FORMAT_STRING   (PLJSON_EXT)

G
GET   (PLJSON)

Retrieve the value of a given key.

GET   (PLJSON)

Retrieve a value based on its position in the internal storage array.

GET   (PLJSON_LIST)

GET_BOOL   (PLJSON_VALUE)

Retrieve the value as a boolean.

GET_DOUBLE   (PLJSON_VALUE)

Retrieve the value as a binary_double.

GET_ELEMENT   (PLJSON_VALUE)

GET_KEYS   (PLJSON)

Retrieve all of the keys within the object as a pljson_list.

 myjson := pljson('{"foo": "bar"}');
 myjson.get_keys(); // ['foo']
 

GET_NULL   (PLJSON_VALUE)

Retrieve the value as a string 'null'.

GET_NUMBER   (PLJSON_VALUE)

Retrieve the value as a number.

GET_STRING   (PLJSON_VALUE)

Retrieve the value as a string (varchar2).

GET_STRING   (PLJSON_VALUE)

Retrieve the value as a string represented by a CLOB.

GET_TYPE   (PLJSON_VALUE)

Retrieve the name of the type represented by the pljson_value.

Possible return values:

  • object
  • array
  • string
  • number
  • bool
  • null

GET_VALUES   (PLJSON)

Retrieve all of the values within the object as a pljson_list.

 myjson := pljson('{"foo": "bar"}');
 myjson.get_values(); // ['bar']
 

GET_BOOL   (PLJSON_EXT)

GET_DATE   (PLJSON_EXT)

GET_DOUBLE   (PLJSON_EXT)

GET_JSON   (PLJSON_EXT)

GET_JSON_LIST   (PLJSON_EXT)

GET_JSON_VALUE   (PLJSON_EXT)

GET_NUMBER   (PLJSON_EXT)

GET_STRING   (PLJSON_EXT)

GET_VERSION   (PLJSON_PARSER)

H
HEAD   (PLJSON_LIST)

HTP   (PLJSON)

Print a JSON representation of the object via HTP.PRN.

HTP   (PLJSON_LIST)

HTP   (PLJSON_VALUE)

I
INDEX_OF   (PLJSON)

Determine the position of a given value within the internal storage array.

IS_ARRAY   (PLJSON_VALUE)

Determine if the value represents an "array" type.

IS_BOOL   (PLJSON_VALUE)

Determine if the value represents a "boolean" type.

IS_NULL   (PLJSON_VALUE)

Determine if the value represents a "null" type.

IS_NUMBER   (PLJSON_VALUE)

Determine if the value represents a "number" type.

IS_NUMBER_REPR_DOUBLE   (PLJSON_VALUE)
Private method for internal processing.

IS_NUMBER_REPR_NUMBER   (PLJSON_VALUE)
Private method for internal processing.

IS_OBJECT   (PLJSON_VALUE)

Determine if the value represents an "object" type.

IS_STRING   (PLJSON_VALUE)

Determine if the value represents a "string" type.

IS_DATE   (PLJSON_EXT)

IS_INTEGER   (PLJSON_EXT)

J
JSON_DATA   (PLJSON)
Private variable for internal processing.

JSON_OBJ   (PLJSON_TABLE_IMPL)

JSON_TABLE   (PLJSON_TABLE_IMPL)

JSON_SRC   (PLJSON_PARSER)

JSON_STRICT   (PLJSON_PARSER)

K
L
LAST   (PLJSON_LIST)

LIST_DATA   (PLJSON_LIST)
Private variable for internal processing.

LEXER   (PLJSON_PARSER)

LTOKENS   (PLJSON_PARSER)

M
MAKENULL   (PLJSON_VALUE)

Create an empty pljson_value.

 declare
   myval pljson_value := pljson_value.makenull();
 begin
   myval.parse_number('42');
   myval.print(); // => dbms_output.put_line('42');
 end;
 

MAPINDX   (PLJSON_VALUE)
Private variable for internal processing.

MAPNAME   (PLJSON_VALUE)
Private variable for internal processing.

N
NESTED_PATH_EXT   (PLJSON_TABLE_IMPL)

NESTED_PATH_FULL   (PLJSON_TABLE_IMPL)

NESTED_PATH_LITERAL   (PLJSON_TABLE_IMPL)

NUM   (PLJSON_VALUE)
Private variable for internal processing.

NUM_DOUBLE   (PLJSON_VALUE)
Private variable for internal processing.

NUM_REPR_DOUBLE_P   (PLJSON_VALUE)
Private variable for internal processing.

NUM_REPR_NUMBER_P   (PLJSON_VALUE)
Private variable for internal processing.

NUMBER   (PLJSON_NARRAY)

NUMBER   (PLJSON_NARRAY)

NUMBER_TOSTRING   (PLJSON_VALUE)

Return a varchar2 representation of a number type.

NEXT_CHAR   (PLJSON_PARSER)

NEXT_CHAR2   (PLJSON_PARSER)

O
OBJ_TYPE   (PLJSON_ELEMENT)

OBJECT_OR_ARRAY   (PLJSON_VALUE)
Private variable for internal processing.

ODCITABLECLOSE   (PLJSON_TABLE_IMPL)

ODCITABLEDESCRIBE   (PLJSON_TABLE_IMPL)

ODCITABLEFETCH   (PLJSON_TABLE_IMPL)

ODCITABLEPREPARE   (PLJSON_TABLE_IMPL)

ODCITABLESTART   (PLJSON_TABLE_IMPL)

P
PARSE_NUMBER   (PLJSON_VALUE)

Parses a string into a number.

PATH   (PLJSON)

Retrieve a value from the internal storage array based on a path string and a starting index.

PATH   (PLJSON_LIST)

PATH_PUT   (PLJSON)

PATH_PUT   (PLJSON)

PATH_PUT   (PLJSON)

PATH_PUT   (PLJSON)

PATH_PUT   (PLJSON)

PATH_PUT   (PLJSON)

PATH_PUT   (PLJSON)

PATH_PUT   (PLJSON_LIST)

PATH_PUT   (PLJSON_LIST)

PATH_PUT   (PLJSON_LIST)

PATH_PUT   (PLJSON_LIST)

PATH_PUT   (PLJSON_LIST)

PATH_PUT   (PLJSON_LIST)

PATH_REMOVE   (PLJSON)

PATH_REMOVE   (PLJSON_LIST)

PLJSON   (PLJSON)

Primary constructor that creates an empty object.

Internally, a pljson "object" is an array of values.

   decleare
     myjson pljson := pljson();
   begin
     myjson.put('foo', 'bar');
     dbms_output.put_line(myjson.get('foo')); // "bar"
   end;
 

PLJSON   (PLJSON)

Construct a pljson instance from a given string of JSON.

   decleare
     myjson pljson := pljson('{"foo": "bar"}');
   begin
     dbms_output.put_line(myjson.get('foo')); // "bar"
   end;
 

PLJSON   (PLJSON)

Construct a pljson instance from a given CLOB of JSON.

PLJSON   (PLJSON)

Construct a pljson instance from a given BLOB of JSON.

PLJSON   (PLJSON)

Construct a pljson instance from a given table of key,value pairs of type varchar2.

PLJSON   (PLJSON)

Create a new pljson object from a current pljson_value.

PLJSON   (PLJSON)

Create a new pljson object from a current pljson_list.

PLJSON_ELEMENT   (PLJSON)

PLJSON_ELEMENT   (PLJSON_LIST)

PLJSON_LIST   (PLJSON_LIST)

Create an empty list.

 declare
   myarr pljson_list := pljson_list();
 begin
   dbms_output.put_line(myarr.count()); // => 0
 end;

PLJSON_LIST   (PLJSON_LIST)

Create an instance from a given JSON array representation.

 declare
   myarr pljson_list := pljson_list('[1, 2, "foo", "bar"]');
 begin
   myarr.get(1).print(); // => dbms_output.put_line(1)
   myarr.get(3).print(); // => dbms_output.put_line('foo')
 end;
 

PLJSON_LIST   (PLJSON_LIST)

Create an instance from a given JSON array representation stored in a CLOB.

PLJSON_LIST   (PLJSON_LIST)

Create an instance from a given JSON array representation stored in a BLOB.

PLJSON_LIST   (PLJSON_LIST)

Create an instance instance from a given table of string values of type varchar2.

PLJSON_LIST   (PLJSON_LIST)

Create an instance instance from a given table of string values of type varchar2.

PLJSON_LIST   (PLJSON_LIST)

Create an instance from a given instance of pljson_value that represents an array.

PLJSON_VALUE   (PLJSON_VALUE)

PLJSON_VALUE   (PLJSON_VALUE)

PLJSON_VALUE   (PLJSON_VALUE)

PLJSON_VALUE   (PLJSON_VALUE)

PLJSON_VALUE   (PLJSON_VALUE)

PLJSON_VALUE   (PLJSON_VALUE)

PLJSON_VALUE   (PLJSON_VALUE)

PLJSON_VALUE   (PLJSON_VALUE_ARRAY)

PLJSON_VARRAY   (PLJSON_VTAB)

PRINT   (PLJSON)

Print a JSON representation of the object via DBMS_OUTPUT.

PRINT   (PLJSON_LIST)

PRINT   (PLJSON_VALUE)

PUT   (PLJSON)

Add a pljson instance into the current instance under a given key name.

PUT   (PLJSON)

Add a varchar2 instance into the current instance under a given key name.

PUT   (PLJSON)

Add a number instance into the current instance under a given key name.

PUT   (PLJSON)

Add a binary_double instance into the current instance under a given key name.

PUT   (PLJSON)

Add a boolean instance into the current instance under a given key name.

PUT   (PLJSON)

PUT   (PLJSON)

PARSE_ANY   (PLJSON_PARSER)

PARSE_ANY   (PLJSON_PARSER)

PARSE_LIST   (PLJSON_PARSER)

PARSE_LIST   (PLJSON_PARSER)

PARSEOBJ   (PLJSON_PARSER)

PARSEPATH   (PLJSON_EXT)

This package contains the path implementation and adds support for dates and binary lob's.

PARSER   (PLJSON_PARSER)

Primary parsing method.

PARSER   (PLJSON_PARSER)

PP   (PLJSON_EXT)

PP   (PLJSON_EXT)

PP_HTP   (PLJSON_EXT)

PREPARECLOB   (PLJSON_PARSER)

PREPAREVARCHAR2   (PLJSON_PARSER)

PRINT_TOKEN   (PLJSON_PARSER)

PUT   (PLJSON_EXT)

PUT   (PLJSON_EXT)

PUT   (PLJSON_EXT)

PUT   (PLJSON_EXT)

PUT   (PLJSON_EXT)

PUT   (PLJSON_EXT)

PUT   (PLJSON_EXT)

PUT   (PLJSON_EXT)

Q
R
REMOVE   (PLJSON)

Remove a key and value from an object.

   declare
     myjson pljson := pljson('{"foo": "foo", "bar": "bar"}')
   begin
     myjson.remove('bar'); // => '{"foo": "foo"}'
   end;
 

REMOVE   (PLJSON_LIST)

REMOVE_DUPLICATES   (PLJSON)

REMOVE_FIRST   (PLJSON_LIST)

REMOVE_LAST   (PLJSON_LIST)

REPLACE   (PLJSON_LIST)

REPLACE   (PLJSON_LIST)

REPLACE   (PLJSON_LIST)

REPLACE   (PLJSON_LIST)

REPLACE   (PLJSON_LIST)

REPLACE   (PLJSON_LIST)

RET_TYPE   (PLJSON_TABLE_IMPL)

ROOT_ARRAY_SIZE   (PLJSON_TABLE_IMPL)

ROW_COUNT   (PLJSON_TABLE_IMPL)

ROW_IND   (PLJSON_TABLE_IMPL)

REMOVE   (PLJSON_EXT)

REMOVE_DUPLICATES   (PLJSON_PARSER)

RTOKEN   (PLJSON_PARSER)
Internal type for processing.

S
START_COLUMN   (PLJSON_TABLE_IMPL)

STR   (PLJSON_VALUE)
Private variable for internal processing.

STR   (PLJSON_TABLE_IMPL)

T
TABLE   (PLJSON_VARRAY)

TABLE   (PLJSON_VARRAY)

TABLE   (PLJSON_NARRAY)

TABLE   (PLJSON_VALUE_ARRAY)

TABLE   (PLJSON_VARRAY)

TABLE   (PLJSON_NARRAY)

TABLE   (PLJSON_VTAB)

TABLE_MODE   (PLJSON_TABLE_IMPL)

TAIL   (PLJSON_LIST)

TO_CHAR   (PLJSON)

Serialize the object to a JSON representation string.

TO_CHAR   (PLJSON_LIST)

TO_CHAR   (PLJSON_VALUE)

TO_CLOB   (PLJSON)

Serialize the object to a JSON representation and store it in a CLOB.

TO_CLOB   (PLJSON_LIST)

TO_CLOB   (PLJSON_VALUE)

TO_JSON_VALUE   (PLJSON)

Convert the object to a pljson_value for use in other methods of the PL/JSON API.

TO_JSON_VALUE   (PLJSON_LIST)

TYPEVAL   (PLJSON_VALUE)

Internal property that indicates the JSON type represented:

  1. object
  2. array
  3. string
  4. number
  5. bool
  6. null

TO_DATE   (PLJSON_EXT)

TO_DATE2   (PLJSON_EXT)

TO_JSON_VALUE   (PLJSON_EXT)

U
V
VALUE_OF   (PLJSON_VALUE)

VARCHAR2(32767)   (PLJSON_VARRAY)

VARCHAR2(32767)   (PLJSON_VARRAY)

VARCHAR2(32767)   (PLJSON_VARRAY)

X
Y
Z
PL/JSON