JSON doesn't work when app compiled
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 5
- Joined: Tue Nov 13, 2018 4:57 pm
JSON doesn't work when app compiled
Hello guyz!
When i using "JSONtoArray" and "ArrayToJSON" in LiveCode shell - everything works great. But when i made an EXE-file - convertation from JSON to Array failed. What it could be? Please help
When i using "JSONtoArray" and "ArrayToJSON" in LiveCode shell - everything works great. But when i made an EXE-file - convertation from JSON to Array failed. What it could be? Please help
-
- VIP Livecode Opensource Backer
- Posts: 190
- Joined: Sat Apr 08, 2006 7:55 am
- Location: Lübbecke, Germany
- Contact:
Re: JSON doesn't work when app compiled
I am not sure,
but maybe the Standalone builder has a problem to manually search for inclusions.
So please try the following:
1. In Standalone Application Settings ->General select Select inclusions for the standalone application. The icon Inclusions should be active now.
2 Under Inclusions select the mergJSON external.
Now try and build the standalone again.
Regards,
Matthias
but maybe the Standalone builder has a problem to manually search for inclusions.
So please try the following:
1. In Standalone Application Settings ->General select Select inclusions for the standalone application. The icon Inclusions should be active now.
2 Under Inclusions select the mergJSON external.
Now try and build the standalone again.
Regards,
Matthias
-
- Livecode Staff Member
- Posts: 821
- Joined: Fri Feb 06, 2015 4:03 pm
Re: JSON doesn't work when app compiled
Hello all,
Indeed, the auto-search for Inclusions cannot detect libraries such as mergJSON, so in this case you have to include this library manually.
Kind regards,
Panos
--
Indeed, the auto-search for Inclusions cannot detect libraries such as mergJSON, so in this case you have to include this library manually.
Kind regards,
Panos
--
-
- Posts: 5
- Joined: Tue Nov 13, 2018 4:57 pm
Re: JSON doesn't work when app compiled
Thank you for your answers!
-
- Posts: 5
- Joined: Tue Nov 13, 2018 4:57 pm
Re: JSON doesn't work when app compiled
Next issue: manually include mergeJSON library. JSON operations are great. But GET and POST commands failed
-
- Livecode Staff Member
- Posts: 821
- Joined: Fri Feb 06, 2015 4:03 pm
Re: JSON doesn't work when app compiled
Hello,
You might need to include the Internet library as well
In the Inclusions, check Internet and/or tsNet.
Cheers,
Panos
--
You might need to include the Internet library as well
In the Inclusions, check Internet and/or tsNet.
Cheers,
Panos
--