Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4203 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello

I have a json date i get from URL and i whant to extract date from it.

 

That data is lan and log. how can i do it.

 

{
"results" : [
{
"address_components" : [
{
"long_name" : "Tel Aviv",
"short_name" : "Tel Aviv",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Israel",
"short_name" : "IL",
"types" : [ "country", "political" ]
}
],
"formatted_address" : "Tel Aviv, Israel",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 32.1466110,
"lng" : 34.85197610
},
"southwest" : {
"lat" : 32.02925310,
"lng" : 34.74251590
}
},
"location" : {
"lat" : 32.0661580,
"lng" : 34.7778190
},
"location_type" : "APPROXIMATE",
"viewport" : {
"northeast" : {
"lat" : 32.1466110,
"lng" : 34.85197610
},
"southwest" : {
"lat" : 32.02925310,
"lng" : 34.74251590
}
}
},
"types" : [ "locality", "political" ]
}
],
"status" : "OK"
}

 

Posted

Read the documentation on the Position and Middle functions, then let us know if you need any more help applying them. (I know the links are to the FileMaker 12 help, but these functions haven't changed between versions 10 and 12.)

Posted

Here is a link to a the Excelisys demo files area. You will see an example that works with pulling Zip data from the web. This demo file also parses json data from a website. I would encourage you to download this example and see how they did it since it is quite straight forward to follow and exactly what you are wanting to do.

 

Hope that helps!

 

Stephen

 

http://www.excelisys.com/filemaker-tips-tricks-demos-downloads.php

  • Like 1
Posted

This reminds me of a conversation I was having over at filemakerstandards.org about converting JSON to "Let Notation". I would still love to do this, but I don't know when, (if ever), I'll get to it.

 

If you want to accomplish this task the long way, you could write a parser that convert's JSON into "Let Notation" - but that will be a fairly complicated task.

  • 4 weeks later...
Posted

Can please someone help me with this i am stuck with this.

I am trint to get from json Data the location  (Lng & Lag).

 

Thanks

Dani

Posted

As Bruce is saying: read up on the help, try it out and then post what you have tried... The help does a good job of explaining the functions and we can help you where you get stuck after you tried a calc.  But we can't tutor you from the ground up; that's just asking too much...

  • 3 weeks later...

This topic is 4203 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.