結果 : how to pass json array in javascript function