how to access geo:point in JSON syntax

  • how to access geo:point in JSON syntax

    Hello everybody,

    can someone please tell me how to get the geo:lat and geo:long out of the geo:point in th JSON syntax?

    I have made an AJAX call to the method geo.getEvents and got a JSON object.
    I've made a JSONP call to work around the cross domain issues. Now I have something like this:

    "name":"Das Bett",
    "city":"Frankfurt am Main","country":"Germany",
    "street":"Klappergasse 16",

    Is there a way to escape the colon or something like this? Other workarounds?
    venue.location.geo:point doesn't work, suprise :)


  • similar to the #text field quirk you must use the following syntax:


  • yeah thanks

  • Can anyone show how to access the city from the above JSON. Looks like its within location and I'm not able to figure out.

    • [Usuário excluído] disse...
    • Usuário
    • Abr 13 2012, 16h48

Usuários anônimos não podem postar mensagens. É preciso fazer login ou criar uma conta para postar nos fóruns.