I just got an array of json from server but I can not use the map function on them because it said the type of the variable is not an object.
[{rad:"129394",pdate1:"13990929",sharh:"بابت مانده اوليه",bed:"1010",bes:"0",kod_naghl:"1",shom_san:"21010"}]
this is the response of server which is an array of json but when I log the type of it. it says that this is a string.
data type : string
and also when I copy the array and put it in a variable in console and log the type it says object. and now I can use the map function.
I have used the JSON.stringfy and JSON.parse to. but they did not work in this case.
by the way this project has been developed with react if its necessary to know.