How to get specific values from a string in a json object?

Given this object, how would I get lat and lng?

location: 
  0: "a:3:{s:7:"address";s:69:"Villa Arborio Mella di San'Elia, Via IV Novembre, Sassari, SS, Italia";s:3:"lat";s:10:"40.7197406";s:3:"lng";s:17:"8.563512299999957";}"

I have tried to follow this answer but I am reading this in javascript