JSON output only in console, not in browser

Hi,

I added custom extension which translate XML files to JSON. It seems to work but I got output only in console (as JSON), not in the browser, there is no error, just empty value. I was trying also with Set Value Step but no result. Do I need to transform JSON to another format or something? To be honest it is my first custom made extension so I could miss something.

var objectValue = JSON.parse(myJSON);

console.log(objectValue.offer.products.product.sizes);
return objectValue.offer.products.product.sizes

Do you have any idea?

It is NodeJS with Docker.

Community Page
Last updated: