Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Parse Json data & Persist data on device memory

Hi All,


How can i parse json data , set the data in DAO object (using set get method)& Persist DAO objecton device like in BB (java) in cascades c++.


in my project using cascades c++ i want to implement same thing how can i do it, please help me with example.


i get json from server


Mohd Farhan
Posts: 51
Registered: ‎11-23-2012
My Device: BB10 Dev Alpha
My Carrier: GiffGaff

Re: Parse Json data & Persist data on device memory

JSON data is already serialised when you get it... any reason why you don't want to save the JSON to a file directly and then just parse it into objects in memory whenever you fetch the data from the file?


Check out this sample code for parsing and manipulating JSON data in Qt/Cascades: