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.

    • [Raderad användare] sa...
    • Användare
    • 13 apr 2012, 16:48

Anonyma användare kan inte skriva inlägg. Vänligen logga in eller skapa ett konto för att göra inlägg i forumen.