Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
10-13-2011 11:46 AM
Does Tablet OS SDK for Adobe AIR support parsing of an API in JSON format ? Can we parse JSON in playbook in other words.
thanks in advance
Solved! Go to Solution.
10-13-2011 11:52 AM - edited 10-13-2011 12:01 PM
Although I'm sure there are third-party libraries you could find with Google, I'll just note here that AIR 3 includes a JSON class as one of the top-level APIs.
We'll be getting AIR 3 as part of the upcoming 2.0 release, I believe, so building in support for that is probably your best option.
Edit: Note also that this is apparently done with native code, so it should be far faster than any of the existing third-party libraries you can find.
10-13-2011 02:58 PM
10-14-2011 09:50 AM
10-14-2011 10:01 AM
10-14-2011 02:00 PM
That we wont see a JSON API in the QNX library.
Oh, for sure, I agree we won't. I can't imagine them putting one there when AIR 3 will have it.
10-14-2011 02:42 PM - edited 10-14-2011 02:43 PM
Just a heads up for anyone using a 3rd party JSON library, Adobe decided to make "JSON" a root level class, which means upgrading to AIR 3.0 will instantly break your existing code (can't reference another JSON,if JSON is a root class).
Minor fixes, but maybe a good thing to have on your radar. You can either replace the 3rd party lib, or replace all your calls with the fully qualified path name, ie: com.adobe.serialization.JSON.decode();