`json_mode` returns no JSON arrays

Hi and welcome to the Developer Forum!

You just need top strip the Markdown header and footer from the response:

response.content = response.content.replace(/```json\n?|```/g, '');

1 Like