Text to json

I make a request to a web service and it returns a text item that includes a json. how do i convert it into usable json?

1 Like

Hi @Cristobal_Moya, it seems n8n receives stringified JSON here, so your best bet is probably JSON.parse().

Here’s an example workflow:

This is the result:

Hope this helps!

Gracias, ¡Qué sencillas son las cosas cuando se saben! :wink:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.