Based on a given JSON, I need to create an insert statement in a stored procedure. For example I have this JSON:

```
{
    "tableName": "test_table",
    "columName":["col_1","col_2","col3"],
    "columnValue":["test1","test2","test3"]
}

```

The "columName" is an array with dynamic number of values and the "columnValue" is an array with the values for each position of the "columnName" array.
What I need to do is to create an insert statement dynamically. For example, for the given JSON, the insert statement looks like this:

```
INSERT INTO test_table("col_1", "col_2", "col_3") VALUES("test1", "test2", "test3")

```

The test\_table table has 27 columns. In JSON I receive data for one, two, three or all columns. How can I build the select statement based on dynamic number of columns.

I am using APEX\_JSON.

Thank you!