What I meant was if we add 1 record in the JSON it will max out the varchar2 thus returning 0 rows value. Try adding one data inside the JSON Payload and execute again or try below payload
{"Custodian":
[
{"loan_num":"TEST-6498","document_id":"FOR","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6460","document_id":"LNAME","comment_descr":"Test Query","loan_status_descr":"Funded","document_descr":"Signature wrong","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7909","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7946","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7961","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7952","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7948","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7965","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7926","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-7913","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-8097","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name
Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6511","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6530","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6559","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6520","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6557","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6584","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6527","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6587","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6690","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6690","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6690","document_id":"FORM","comment_descr":"Test
Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6690","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6690","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"},{"loan_num":"TEST-6690","document_id":"FORM","comment_descr":"Test Query","loan_status_descr":"Reviewed","document_descr":"Borrower Name Incorrect","status_descr":"Incomplete/Incorrect"}]}But passing directly on JSON_TABLE worked for me.
Thanks!!