Response in string

0
Hi, I'm getting the response as JSON format and also sometime in string format. Can anyone tell how to handle the string response?
asked
1 answers
2

I would retrieve the response always as string and first check the first character to see if it is a JSON response or something else (The JSON starts with a [ character you could use). If it is JSON do the import mapping. If it is not create a log where you store the other results.

Regards,

Ronald

 

answered