After constructing an array of JavaScript objects using jQuery across multiple table rows, the structure looks like this:
obj_rows = [
{"param1":value11, "param2":value12, "param3":value3},
{"param1":value21, "param2":value22, "param3":value23},
//more objects with the same parameters
]
I am looking for a way to send an AJAX POST request to a Controller method named SomeAction in SomeController that can handle this array and iterate over all objects. I have tried using JSON without success.
It is important to note that even though MVC is being used, there is no corresponding model class for these objects. Ideally, I would like to end up with a structure such as a List of 3 Tuples.