so here is the problem : I am passing a list/array of objects from front end to my node js back end.
This is how it looks on the front end : [{"sample1": "this", "apple2" : eat},{"sample2": "thisIs2", "apple3" : eatFruits}]
but when it is passed to the backend , its converted to String,something like this:
"[{"sample1": "this", "apple2" : eat},{"sample2": "thisIs2", "apple3" : eatFruits}]"
So when I run a for loop in my node js, the length is calculated as each characters. what do i do to get the pure array and the contents in the array. Thanks