Code generation from string disallowed in this context

Options

Hey guys,

I'm trying to dynamically build a JSON object from a Javascript-end definition.

My input is plain-text, like:

"obj[people][name] = 'Anthony'; obj[people][age] = 19;"

And I want to build a JSON object that I can work with in Xano.

I am able to do it in Node.js locally, so I tried to use Lambdas and run that plain-text inside the built-in Javascript eval() function.

But the thing is that it is apparently forbidden by Xano, as I'm getting this error code :

"Code generation from strings disallowed for this context".

Do you have an idea guys on how I could bypass this?


Thanks!