I have an array of objects that I'm passing from view to controller using ajax.
Array data is:

My ActionMethod is:
public JsonResult AddQuestionsToStep(long stepId, string questionText, string questionType, string correctAnswer = "", List<QuestionOption> choices = null)
I'm receiving other variables data and count for choices array but the data in choices array is not mapped.i.e, OptionName that has value on client side is null on server side. What i'm doing wrong?
OptionIdis a function, shouldn't it mapOptionNameproperty?JSON.stringify(choices), it doesn't even receive the count inList<QuestionOption> choicesparameter. let me try dynamicJObject.Parse(choice);