I am downloading json data from my server using FMDB. The answer that I get (JSON), I store in the sqlite database (the same line as the answer below is stored in the database). Later, I select this data from the database via FMDB and try to create an NSDictionary from it, but I can not get it to work.
The json-response I get from the server looks lower (shortened the response to this post, so it contains a few more ...) when I output it via NSLog:
{ response = { data = { "dbId_1" = { 1 = { current = { weekday = Tuesday; }; }; }; }; }; }
This is how I select it from the database and what I want to make NSDictionary from:
NSString *jsonString = [results stringForColumn:@"json"];
Can everything be created again in NSDictionary?
source share