'How to split two json String

I have a string but it contains two object like the following {"firstName":"A","lastName":"Z"}{"firstName":"B","lastName":"Y"} I got this string as a response but I want to process it one by one, so how I should separate this one like {"firstName":"A","lastName":"Z"} and {"firstName":"B","lastName":"Y"}



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source