[This is Possibly a Bug in Tizen Studio 2.5 when Targeting Tizen 2.3.2]
I was trying to parse some JSON in a Native app for the Gear. I have a Gear S2 as my test hardware.
I've written the following.
#include <json-glib.h>
JsonParser* jsonParser = NULL;
GError *error = NULL;
jsonParser = json_parser_new();
if(jsonParser == NULL) {
fputs("failed to create parser", stderr);
exit(7);
}
When I try this in the 3.0 emulator it works fine. If I try it in a 2.3.2 emulator or on my test hardware the call to json_parser_new() returns NULL. Should this work on 2.3.2? If not what is the recommended parser?