結果 : how to pass json object in javascript function