How to get a value from this json

the json in google map exemple is not the same structure.

google exemple json is like [ “elements”:{“name”:“blabla”,“surname”:hahaha"}]
this json is a list with ‘elements’ as name.

but mine is : [{“name”:“blabla”,“surname”:hahaha"}]

i tries all the way possible like in gmap exemple no one works.thats why i need a concret way to use this json without object name.