Bada 2.0 has classes to handle JSON.
Bada 1 doesn't have these classes.
How to work with JSON in bada? I have tried jsoncpp(http://sourceforge.net/projects/jsoncpp/), but it does not work (iostream: No such file or directory)
The same problem with JsonBox (https://bitbucket.org/madbranch/jsonbox/)
How can I solve this problem?
I have solved this problem.
I used this project: http://sourceforge.net/projects/cajun-jsonapi/ with some modifications, described here:http://ask.badadev.com/questions/2957/json-parser-for-bada
- replace "null" -> with "null_" because of Bada headers brain-damaging #define
- use istream/ostream instead of iostream
- comment out iomanip and std::setprecision() in writer.inl