I will try to get some consulting. Frankly, I feel this is a weakness of Backendless that you may want to address with some kind of new feature. Having a lot of experience with other “codeless” tools, transforming JSON has always been easy for me, whereas it appears rather complicated here.
I was able to find the solution to this. For anyone looking to dig into a JSON Path using Codeless, here goes:
The Problem: My external API gives an array of arrays like this:
Solution: Transforming it into this:
Here’s what I did:
1 Like
ISometimes the “phones” and “emails” logic here
will work fine, and other times it will give the error:
{
“code”: 0,
“message”: “Cannot read property ‘email’ of undefined”
}
What is the standard way to check for null, undefined, or blank variables in Codeless?
This is what I am doing: