Data json format

I want to change the format of “coordinates”: “[2.51, 121.4]”}]" to “coordinates”: [2.51, 121.4]}] without the “” in the array
image

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:
  • n8n version: 0.231.2
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: linux

Hi @Jackon_Spray

Thanks for posting here and welcome to the community! :partying_face:

You will need to transform your coordinates from the string format that they are currently in.
Can you share your workflow, so I can see your source data?
Typically though you could insert a code node to transform these values.

To share your workflow here simply paste the JSON content (after you download the workflow from you workspace) in between two block quotes (```).

im sorry, i was able to solve it. i have to make it a specify body.

image

thank you for replying to this question.

2 Likes

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