Need help converting API JSON array to key-value object for database update in Wappler

Like this you mean?

Yes. Make sure Output is checked for the Set Value steps.

Thanks @Quy , great help.

It works? As-is?

1 Like

RunJS? Of course!

Hope the past ten months has been good to you @JonL?

Nice to see your name pop up.

I expected someone to fork it and give it a review spin given its unsafe nature. I think it was released more than 3 years ago :smile:

Those that know that would not allow user generated scripts in the first place, but maybe someone thinks this is safe to use to allow people to run JS on their server.

Should I take the repo down?

Hey! Thanks! I still lurk from time to time. And I also get the weekly newsletter. This last one gave me big LLM vibes with all the emojis and I came to see what was going on.

how are things going?

P.S. Sorry for hijacking this thread.

1 Like

Probably best to leave it up but put a warning regarding safety on the repo. Let others make the decision based on the specific use case otherwise it could break a lot of sites.
Personally I never use it as making custom modules/ formatters are so easy, a basic one only takes 10-15 minutes, especially as in most cases AI can do the actual node.js coding (it still hasn't a clue with HJSON)

1 Like

Try Claude 4.5, it will surprise you

1 Like

Will try it ben.
To be honest, i am really trying not to get sucked into reliance on AI, if i can do it by hand then that is my preferred route.
Looking back at how many computer languages i have learned in detail in the past and since forgotten through lack of use, i really don't want to risk that de-skilling process again.
When AI finally becomes a total solution, i will simply hang up the proverbial keyboard and retire fully as nobody will need people with real knowledge anymore.

1 Like

Ha! No user scripts for me, just a great utility to run some quick commands that are specific to a single use case.

Great to hear from you!

1 Like

Am good cheers Jon, Keeping busy and just starting to relax a little after the most hectic season we have had since before Covid. Keeping us on our toes so no complaints. :slight_smile:

1 Like