How to parse string into json

{ “data”: “{“succeeded”:true,“result”:{“isAlive”:true}}” }

I have such response after using http request node. “data” value is given as a string and dont know how to convert it to json to have access to inner elements

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

You can use something like:

The code is just a sample to create a JSON string, the Edit Fields is the important one.

Yeap. I figured out to change from string to object in Edit Fields

Thanks for help

Please consider marking as a solution if it helped :slight_smile:

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