I am creating an array in my jquery code then am calling stringify to make it as json data and then am calling a service that receives an object , but unfortunately I am getting this error , and this error is caused by the fact that my object consists of array properties , I have the same code and it’s all working fine when my object is only strings and numbers….this is a part of my object
[Serializable]
[DataContract]
public class ImagesEditInfo
{
[DataMember(IsRequired=true)]
public int[] ImageIds
{
get;
set;
}
}
can anyone help please?
What does your service look like and could you provide some sample requests?
I approximately use this for service calls
in your case your service method would have to be something like this: