Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8586009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:12:21+00:00 2026-06-11T22:12:21+00:00

I load json-data from my server by using FMDB. The response I get (JSON),

  • 0

I load json-data from my server by using FMDB. The response I get (JSON), I’m storing in a sqlite-database (same string as the response below gets stored in the database). Later on I select that data from the database through FMDB and trying to build up a NSDictionary from it, but can’t get it to work.

The json-response I get from the server looks like below (shortened down the response for this post, so it contains some more…) when I output it through NSLog:

{
response = {
    data = {
        "dbId_1" = {
            1 = {
                current = {
                    weekday = Tuesday;
                };
            };
        };
    };
};
}

This is how I select it from the database and what I want to make a NSDictionary from:

NSString *jsonString = [results stringForColumn:@"json"];

Is it possible to build up everything again to a NSDictionary?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:12:23+00:00Added an answer on June 11, 2026 at 10:12 pm

    Add JSONKit to your project, #import “JSONKit.h” then go:

    NSDictionary *jsonDict = [yourJSONStringFromDB objectFromJSONString];
    

    If you’re using Automatic Reference Counting, then you’ll need to open up your Project Settings > Build Phases > Compiled Sources Panel

    Look for “JSONKit.m” line and double click on it, add “-fno-objc-arc” to force no automatic reference counting for this file.

    JSONKit can be downloaded here: https://github.com/johnezang/JSONKit

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

jqGrid tree nodes are read from server using json data. Click in node reads
I'm trying to load and parse json data from an external source into a
I'd like to load images from json data which contains the url to these
I want to load the form fields using json data. I am using extjs
jqgrid is used to show stock status from server. Data is retrieved in json
I'm using jqgrid 3.8.2, I'm trying to use below code to reload data from
I obtained the data from the server using ajax like this: (EDITED) $(document).ready(function() {
I need to get rather complicate JSON data from (large) JSON file into a
I have a jqGrid where I get data at once from server (java) in
I want to load a JSON file from my own server containing an array

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.