Check incoming JSON is empty or not
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 06:34 AM
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 06:35 AM
@bojanvelevski - creating a new thread for ease and convenience.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 07:48 AM
$group.map(o=> o.values().length ).reduce((a, b) => a + b, 0)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 07:57 AM
Thank you @alchemiz for your quick suggestion however it has been failing on my end:

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-21-2023 09:04 AM
When incoming JSON… starting from root? Kindly share the JSON schema
e.g.
[
{ "group": {
"key1": "a",
"key2": "b",
"other": 100
},
{ "group": {
}
},
{ "group": {
"key4": "",
"key5": ""
}
}
]
$group.values().join(‘’).trim().length > 0
