Again can't handle the regular season,or how to capture the json array?

Want to put the answer from vk api in json format to the list without connection of libraries and so ,I decided to use regexp to get the result but here there is a problem due to the nesting of the data in the results

Using it seems obvious the regular season
(?<=\{"uid":)([0-9]{1,}),"f.*?(?=})


* {"uid": last }- cut

impossible to get all the data but nested data in this case

{"uid":32711210,"first_name":"Yuri","last_name":"Kotsubinsky","sex":2,"bdate":"15.5.1976","relation":4,"relatives":[{"uid":195139503,"type":"sibling"},{"uid":191446274,"type":"sibling"},{"uid":95498830,"type":"sibling"},{"uid":182441705,"type":"sibling"},{"uid":232168089,"type":"sibling"},{"uid":11080578,"type":"sibling"}]}


cut is not as it should - which is not Gud .

32711210,"first_name":"Yuri","last_name":"Kotsubinsky","sex":2,"bdate":"15.5.1976","relation":4,"relatives":[{"uid":195139503,"type":"sibling"


gentlemen,understand that this is not the appropriate method to work with json . but still would love to hear a possible solution
July 9th 19 at 12:53
1 answer
July 9th 19 at 12:55
Solution

Find more questions by tags APIJSONRegular expressions