11.8 JSON_TO_PROFILEファンクション

このファンクションは、JSON形式のファイル・プロファイルをt_file_profileレコード・タイプのインスタンスに変換します。

構文

function json_to_profile( p_json inclob ) return t_file_profile;

パラメータ

表11-5 JSON_TO_PROFILEのパラメータ

パラメータ 説明

p_json

JSON形式のデータ・プロファイル。

戻り値

ファイル・プロファイルをJSON形式で返します。

declare
    l_profile t_file_profile;
begin
    l_profile := apex_data_parser.json_to_profile( '{"file-type", "csv-delimiter" : "", ... }' );
     
end;