The expected input type is jsonarray."

The expected input type is jsonarray."

CRM says "Invalid input for Product_Details. The expected input type is jsonarray."
I have searched the forums and it says that one needs to create a custom funtion. As I am not familiar with JavaScript I need advise her.