How the Node Transformer works?

How the Node Transformer works or please show me an example of what to use it for?

Or how to set it up.

For example I wanted to convert id from string to int

{
  "order": [{
    "id": "123",
    "customer": {
      "name": "Jan Novák",
      "email": "[email protected]"
    }
  },{
    "id": "345",
    "customer": {
      "name": "safd sfa sdf",
      "email": "[email protected]"
    }
  }
  ]
}

Hi @vosy,

Unfortunately, the transformer “Node Transformer” doesn’t work correctly. We have a story in our backlog to deprecate the “Node Transformer” in the future.

You can use the “Execute entity transformers” and then “Node, transform nodes” to loop through the order array. Next, you can use a Value mapper inside the “Node, transform nodes” to cast the property id to an integer.

Please give it a try and let us know if you find any issues.

Hi Gucci ;),
I know about “Node, transform nodes” but i was interesting in difference with “Node Transformer”. If it is broken, it is correct answear, thank you very much!, have a nice day.

Hi @vosy,

Thank you for clarifying. Good to know that it answered your question.

Have a nice day!