Iterator module not processing all the JSON objects

Hi All
I need to iterate through the array of JSON objects but the iterator module is passing only once. This is the JSON string I pass to the JSON parser module
Can anyone suggest what am I missing?

{“jobs-1751763765437”:{“years”:“12”,“job-id”:“jobs-1751763765437”,“status”:“open”,“job-type”:“Full-time Permanent”,“job-title”:“Data Scientist”,“company-name”:“Cisco”,“job-description-url”:“”},“jobs-1751764262336”:{“years”:“3”,“job-id”:“jobs-1751764262336”,“status”:“open”,“job-type”:“Fixed-term Contract”,“job-title”:“Junior Engineer”,“company-name”:“AWS”,“job-description-url”:“”}}
JSON Parser Input Bundle.txt (478 Bytes)
JSON Parser Output Bundle.txt (631 Bytes)

I solved it after trying workarounds from couple of other threads
Did the following:
In the JSON parser module I prefixed a key just before the JSON object
{“jobs”:{{input_JSON_string}}}

Passed the output of JSON parser module via an Array in the Iterator module to split into separate bundles
{{toArray(10.jobs)}}

These workarounds solved my issue
Posting here so that it is useful for someone else

1 Like

Hello @Saptharishi_Suresh :waving_hand:

Thank you very much for coming back and sharing the solution! You rock. :rocket: