22.9 JSON_TO_PROFILE Function

This function converts a file profile in JSON format to an instance of the t_file_profile record type.

Syntax

APEX_DATA_PARSER.JSON_TO_PROFILE (
    p_json  IN CLOB )
    RETURN t_file_profile;

Parameter

Parameter Description
p_json The data profile in JSON format.

Returns

Returns the the file profile in JSON format.

Example

DECLARE
    l_profile t_file_profile;
BEGIN
    l_profile := apex_data_parser.json_to_profile( '{"file-type", "csv-delimiter" : "", ... }' );
     
END;