JSON Library Not Included in Standalone
Posted: Sun Aug 26, 2018 4:26 am
I'm trying to save a stack as a standalone, and it uses the JSONToArray() function.
In the IDE, everything works just fine. I then set the "Standalone Application Settings", and left the default to automatically "search for required inclusions when saving the standalone application". I then saved the stack as a standalone, and it didn't work. Took me about an hour to figure out that what was failing was the 'JSONToArray()' function call.
I changed the 'Standalone Application Settings' to manually "select inclusions for the standalone application". Then, in the 'Inclusions' tab I selected 'JSON Library', 'mergJSON', 'XML', 'SSL & Encryption', 'Table' and a whole lot of other stuff that may or may not be involved - how am I supposed to know?... Then, saved the standalone, and now it works. So, it seems that the JSON Library/mergJSON (and whatever other dependency is required) was not being included when the builder was selecting the inclusions automatically.
Is this a bug? There doesn't seem to be anything in the manual about having to manually include libraries - not even in the JSONToArray entry...
In the IDE, everything works just fine. I then set the "Standalone Application Settings", and left the default to automatically "search for required inclusions when saving the standalone application". I then saved the stack as a standalone, and it didn't work. Took me about an hour to figure out that what was failing was the 'JSONToArray()' function call.
I changed the 'Standalone Application Settings' to manually "select inclusions for the standalone application". Then, in the 'Inclusions' tab I selected 'JSON Library', 'mergJSON', 'XML', 'SSL & Encryption', 'Table' and a whole lot of other stuff that may or may not be involved - how am I supposed to know?... Then, saved the standalone, and now it works. So, it seems that the JSON Library/mergJSON (and whatever other dependency is required) was not being included when the builder was selecting the inclusions automatically.
Is this a bug? There doesn't seem to be anything in the manual about having to manually include libraries - not even in the JSONToArray entry...