Hi Ananya,
Thanks for reaching out to us.
its moving into the Loop because your ID is stored inside the result which is an array.
Do you want take only the first ID from the Parse json and put it in the title? if you need can you send the the sample json? i can help you writing it