I have JSON that I converted to a custom object.
The JSON:
{
"customerId":"cust3456",
"orderId":"or_4567",
"numItems":8
}
I've converted it to a custom object named, varsObject
.
I want to return the number of fields in the custom object. I can reference the fields (keys) and return the values but want the count. There is no length property and %Count(['varsObject'])%
returns 1 - ie: 1 object?
Thanks.